diff options
Diffstat (limited to 'libempathy-gtk/empathy-geometry.c')
-rw-r--r-- | libempathy-gtk/empathy-geometry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-geometry.c b/libempathy-gtk/empathy-geometry.c index 9a3e1f797..79730d650 100644 --- a/libempathy-gtk/empathy-geometry.c +++ b/libempathy-gtk/empathy-geometry.c @@ -140,7 +140,7 @@ empathy_geometry_save (GtkWindow *window, g_return_if_fail (GTK_IS_WINDOW (window)); g_return_if_fail (!EMP_STR_EMPTY (name)); - if (!GTK_WIDGET_VISIBLE (window)) + if (!gtk_widget_get_visible (GTK_WIDGET (window))) return; /* escape the name so that unwanted characters such as # are removed */ |