summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-12-17 23:25:21 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-12-17 23:25:21 -0500
commit47ebd5c6b16bbc5a12ac71f8c85c9f86302d26c9 (patch)
tree6be75f20aec7bfea760e780333e4399cce904e1b /gtk/gtkappchooserwidget.c
parentad8a97b45792bf3ad32853eff7b00ab0fe5546cf (diff)
downloadgtk+-47ebd5c6b16bbc5a12ac71f8c85c9f86302d26c9.tar.gz
Fix a compiler warning
Diffstat (limited to 'gtk/gtkappchooserwidget.c')
-rw-r--r--gtk/gtkappchooserwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index c1675d1cfd..6f3f160a18 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);