[gtk+] Fix a compiler warning



commit 47ebd5c6b16bbc5a12ac71f8c85c9f86302d26c9
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 17 23:25:21 2013 -0500

    Fix a compiler warning

 gtk/gtkappchooserwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index c1675d1..6f3f160 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -238,7 +238,7 @@ widget_button_press_event_cb (GtkWidget      *widget,
         gtk_widget_destroy (self->priv->popup_menu);
 
       self->priv->popup_menu = menu = gtk_menu_new ();
-      gtk_menu_attach_to_widget (GTK_MENU (menu), self, popup_menu_detach);
+      gtk_menu_attach_to_widget (GTK_MENU (menu), GTK_WIDGET (self), popup_menu_detach);
 
       g_signal_emit (self, signals[SIGNAL_POPULATE_POPUP], 0, menu, info);
 


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