aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-19 00:49:21 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-19 00:49:21 +0800
commit98cc9025c6972a582578cac9ee33ed6dc5e473a0 (patch)
treec655349d919342be23ee412a708188bb0080468d
parent7afd0f35a920d5a47088327dc69e7d861bef9693 (diff)
downloadgsoc2013-empathy-98cc9025c6972a582578cac9ee33ed6dc5e473a0.tar
gsoc2013-empathy-98cc9025c6972a582578cac9ee33ed6dc5e473a0.tar.gz
gsoc2013-empathy-98cc9025c6972a582578cac9ee33ed6dc5e473a0.tar.bz2
gsoc2013-empathy-98cc9025c6972a582578cac9ee33ed6dc5e473a0.tar.lz
gsoc2013-empathy-98cc9025c6972a582578cac9ee33ed6dc5e473a0.tar.xz
gsoc2013-empathy-98cc9025c6972a582578cac9ee33ed6dc5e473a0.tar.zst
gsoc2013-empathy-98cc9025c6972a582578cac9ee33ed6dc5e473a0.zip
Little cleanup
svn path=/trunk/; revision=1110
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 1b44d50ce..a86fa1ae2 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -407,17 +407,13 @@ contact_list_view_popup_menu_idle_cb (gpointer user_data)
menu = empathy_contact_list_view_get_group_menu (data->view);
}
- if (!menu) {
- goto OUT;
+ if (menu) {
+ gtk_widget_show (menu);
+ gtk_menu_popup (GTK_MENU (menu),
+ NULL, NULL, NULL, NULL,
+ data->button, data->time);
}
- gtk_widget_show (menu);
-
- gtk_menu_popup (GTK_MENU (menu),
- NULL, NULL, NULL, NULL,
- data->button, data->time);
-
-OUT:
g_slice_free (MenuPopupData, data);
return FALSE;