LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File loki_update-libglade2.patch of Package loki_setup (Project games:tools)

Index: loki_update/gtk_ui.c
===================================================================
--- loki_update.orig/gtk_ui.c
+++ loki_update/gtk_ui.c
@@ -30,6 +30,10 @@
 #include <gtk/gtk.h>
 #include <glade/glade.h>
 
+/* Hack to easily patch the code to move from libglade1 to libglade2 */
+#define glade_xml_new_1 glade_xml_new
+#define glade_xml_new(fname,root) glade_xml_new_1 (fname, root, NULL)
+
 #include "update_ui.h"
 #include "prefpath.h"
 #include "patchset.h"