comparison pidgin/gtkpounce.c @ 32696:763d65f3f758

explicit merge of '6ab9f5ff810acde3c06a2add7b8df2bd75cce6e3' and '7a0bb807afc9c1c3f2aaa7143fc5d1e3dc7c6ee8' to branch 'im.pidgin.cpw.qulogic.gtk3'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 23 Dec 2011 06:58:52 +0000
parents f07501af8bae 3538e783b98c
children
comparison
equal deleted inserted replaced
32418:466efc330d3d 32696:763d65f3f758
1016 } 1016 }
1017 1017
1018 static gboolean 1018 static gboolean
1019 pounces_manager_configure_cb(GtkWidget *widget, GdkEventConfigure *event, PouncesManager *dialog) 1019 pounces_manager_configure_cb(GtkWidget *widget, GdkEventConfigure *event, PouncesManager *dialog)
1020 { 1020 {
1021 #if GTK_CHECK_VERSION(2,18,0)
1022 if (gtk_widget_get_visible(widget)) {
1023 #else
1021 if (GTK_WIDGET_VISIBLE(widget)) { 1024 if (GTK_WIDGET_VISIBLE(widget)) {
1025 #endif
1022 purple_prefs_set_int(PIDGIN_PREFS_ROOT "/pounces/dialog/width", event->width); 1026 purple_prefs_set_int(PIDGIN_PREFS_ROOT "/pounces/dialog/width", event->width);
1023 purple_prefs_set_int(PIDGIN_PREFS_ROOT "/pounces/dialog/height", event->height); 1027 purple_prefs_set_int(PIDGIN_PREFS_ROOT "/pounces/dialog/height", event->height);
1024 } 1028 }
1025 1029
1026 return FALSE; 1030 return FALSE;