[ekiga] Fixed the contact menu in the main window



commit a24f08d2559265b8c4637322c6b1f58c0e68d7de
Author: Julien Puydt <julien puydt laposte net>
Date:   Fri Mar 9 18:05:08 2012 +0100

    Fixed the contact menu in the main window

 src/gui/main_window.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 0ab6496..2415fd1 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -1099,7 +1099,7 @@ on_roster_selection_changed (G_GNUC_UNUSED GtkWidget* view,
   gint section;
   GtkWidget* menu = gtk_menu_get_widget (mw->priv->main_menu, "contact");
 
-  if (GTK_IS_MENU (menu)) {
+  if (GTK_IS_MENU_ITEM (menu)) {
 
     section = gtk_notebook_get_current_page (GTK_NOTEBOOK (mw->priv->main_notebook));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]