/[packages]/cauldron/emerald/current/SOURCES/emerald-0.8.4-fix-gtk-widgets-reference.patch
ViewVC logotype

Contents of /cauldron/emerald/current/SOURCES/emerald-0.8.4-fix-gtk-widgets-reference.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16565 - (show annotations) (download)
Thu Jan 13 21:21:38 2011 UTC (10 years, 10 months ago) by colin
File size: 1057 byte(s)
imported package emerald
1 --- src/main.c 2009-10-14 02:56:23.000000000 +0200
2 +++ src/main.c.new 2010-03-14 00:52:52.029468041 +0200
3 @@ -3757,7 +3757,7 @@
4
5 static void hide_tooltip(void)
6 {
7 - if (GTK_WIDGET_VISIBLE(tip_window))
8 + if (gtk_widget_get_visible(tip_window))
9 g_get_current_time(&tooltip_last_popdown);
10
11 gtk_widget_hide(tip_window);
12 --- libengine/themer.c 2009-10-14 02:56:23.000000000 +0200
13 +++ libengine/themer.c.new 2010-03-14 02:25:33.948468415 +0200
14 @@ -461,7 +461,7 @@
15 }
16 gdouble get_float(SettingItem * item)
17 {
18 - if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
19 + if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
20 return gtk_spin_button_get_value((GtkSpinButton *)item->widget);
21 }
22 else {
23 @@ -647,7 +647,7 @@
24 }
25 void set_float(SettingItem * item, gdouble f)
26 {
27 - if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
28 + if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
29 gtk_spin_button_set_value((GtkSpinButton *)item->widget, f);
30 }
31 else {

  ViewVC Help
Powered by ViewVC 1.1.28