im.pidgin.charkins.dockletgeom: f13ef49228ccfc9d640e0b8f38751c6a6407989a
charkins at pidgin.im
charkins at pidgin.im
Sun Oct 28 13:20:56 EDT 2007
-----------------------------------------------------------------
Revision: f13ef49228ccfc9d640e0b8f38751c6a6407989a
Ancestor: 17626bcf11654137e855476a7318abfa3687aa8c
Author: charkins at pidgin.im
Date: 2007-10-28T17:08:13
Branch: im.pidgin.charkins.dockletgeom
Modified files:
pidgin/gtkdocklet.c
ChangeLog:
disapproval of revision '17626bcf11654137e855476a7318abfa3687aa8c'
-------------- next part --------------
============================================================
--- pidgin/gtkdocklet.c 1eef515ddf47568d5b8b7394dd666aefb73fd0a0
+++ pidgin/gtkdocklet.c f94b4f2e5579b5ee87895d4c7d5542e99ff28dae
@@ -712,14 +712,16 @@ pidgin_docklet_get_geometry(gint *x, gin
gboolean
pidgin_docklet_get_geometry(gint *x, gint *y, gint *w, gint *h)
{
- if(visible && ui_ops && ui_ops->get_geometry) return ui_ops->get_geometry(x, y, w, h);
+ if(!visible) return FALSE;
+ if(ui_ops && ui_ops->get_geometry) return ui_ops->get_geometry(x, y, w, h);
return FALSE;
}
GObject *
pidgin_docklet_get_gdk_screen()
{
- if(visible && ui_ops && ui_ops->get_gdk_screen) return ui_ops->get_gdk_screen();
+ if(!visible) return NULL;
+ if(ui_ops && ui_ops->get_gdk_screen) return ui_ops->get_gdk_screen();
return NULL;
}
More information about the Commits
mailing list