diff options
Diffstat (limited to 'x11-wm/emerald/files/emerald-0.8.4-gtk+-2.20-build.patch')
-rw-r--r-- | x11-wm/emerald/files/emerald-0.8.4-gtk+-2.20-build.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-wm/emerald/files/emerald-0.8.4-gtk+-2.20-build.patch b/x11-wm/emerald/files/emerald-0.8.4-gtk+-2.20-build.patch new file mode 100644 index 000000000000..3dc7bf4488ad --- /dev/null +++ b/x11-wm/emerald/files/emerald-0.8.4-gtk+-2.20-build.patch @@ -0,0 +1,33 @@ +diff -urN emerald-0.8.4/libengine/themer.c emerald-0.8.4.new/libengine/themer.c +--- emerald-0.8.4/libengine/themer.c 2009-10-13 20:56:23.000000000 -0400 ++++ emerald-0.8.4.new/libengine/themer.c 2010-03-10 01:20:03.046827674 -0500 +@@ -461,7 +461,7 @@ + } + gdouble get_float(SettingItem * item) + { +- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { ++ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { + return gtk_spin_button_get_value((GtkSpinButton *)item->widget); + } + else { +@@ -647,7 +647,7 @@ + } + void set_float(SettingItem * item, gdouble f) + { +- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { ++ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { + gtk_spin_button_set_value((GtkSpinButton *)item->widget, f); + } + else { +--- emerald-0.8.4/src/main.c.old 2010-03-29 19:49:30.420710030 -0700 ++++ emerald-0.8.4/src/main.c 2010-03-29 19:52:33.654024944 -0700 +@@ -3757,7 +3757,7 @@ + + static void hide_tooltip(void) + { +- if (GTK_WIDGET_VISIBLE(tip_window)) ++ if (gtk_widget_get_visible(tip_window)) + g_get_current_time(&tooltip_last_popdown); + + gtk_widget_hide(tip_window); + |