Mercurial > pidgin
diff pidgin/gtksavedstatuses.c @ 32628:a3bd979c9ce4
compiles using GTK+ 3 from git, beware it does not yet run, in fact it crashes...
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Thu, 25 Nov 2010 22:30:18 +0000 |
parents | 551253814063 |
children | ea07a6230b57 |
line wrap: on
line diff
--- a/pidgin/gtksavedstatuses.c Mon Nov 22 10:18:15 2010 +0000 +++ b/pidgin/gtksavedstatuses.c Thu Nov 25 22:30:18 2010 +0000 @@ -535,7 +535,7 @@ static gboolean configure_cb(GtkWidget *widget, GdkEventConfigure *event, StatusWindow *dialog) { - if (GTK_WIDGET_VISIBLE(widget)) + if (gtk_widget_get_visible(widget)) { purple_prefs_set_int(PIDGIN_PREFS_ROOT "/status/dialog/width", event->width); purple_prefs_set_int(PIDGIN_PREFS_ROOT "/status/dialog/height", event->height);