diff options
author | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-05-21 01:21:43 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-05-28 00:52:06 +0800 |
commit | d310cd8ea9d6cc233be3be9186a9f963748c77bb (patch) | |
tree | c4b4966d9150dd9537ddbc4c5bef84e523ceeaf0 | |
parent | 98ac7b635ef523f2dd8f90b2d0df55114e2c4333 (diff) | |
download | gsoc2013-empathy-d310cd8ea9d6cc233be3be9186a9f963748c77bb.tar gsoc2013-empathy-d310cd8ea9d6cc233be3be9186a9f963748c77bb.tar.gz gsoc2013-empathy-d310cd8ea9d6cc233be3be9186a9f963748c77bb.tar.bz2 gsoc2013-empathy-d310cd8ea9d6cc233be3be9186a9f963748c77bb.tar.lz gsoc2013-empathy-d310cd8ea9d6cc233be3be9186a9f963748c77bb.tar.xz gsoc2013-empathy-d310cd8ea9d6cc233be3be9186a9f963748c77bb.tar.zst gsoc2013-empathy-d310cd8ea9d6cc233be3be9186a9f963748c77bb.zip |
Fix gtk warning at startup when not compiled with libchamplain
-rw-r--r-- | src/empathy-main-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 0ff054faa..9d26137d9 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -1107,7 +1107,7 @@ empathy_main_window_show (void) GtkWidget *sw; GtkToggleAction *show_offline_widget; GtkWidget *ebox; - GtkWidget *show_map_widget; + GtkAction *show_map_widget; GtkToolItem *item; gboolean show_offline; gboolean show_avatars; @@ -1169,7 +1169,7 @@ empathy_main_window_show (void) g_object_unref (gui); #if !HAVE_LIBCHAMPLAIN - gtk_widget_hide (show_map_widget); + gtk_action_set_visible (show_map_widget, FALSE); #endif window->mc = empathy_mission_control_dup_singleton (); |