summaryrefslogtreecommitdiff
path: root/src/eom-thumb-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-thumb-view.c')
-rw-r--r--src/eom-thumb-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-thumb-view.c b/src/eom-thumb-view.c
index 03270cc..a58fcf5 100644
--- a/src/eom-thumb-view.c
+++ b/src/eom-thumb-view.c
@@ -1046,7 +1046,7 @@ eom_thumb_view_set_thumbnail_popup (EomThumbView *thumbview,
g_return_if_fail (EOM_IS_THUMB_VIEW (thumbview));
g_return_if_fail (thumbview->priv->menu == NULL);
- thumbview->priv->menu = g_object_ref (menu);
+ thumbview->priv->menu = g_object_ref (GTK_WIDGET (menu));
gtk_menu_attach_to_widget (GTK_MENU (thumbview->priv->menu),
GTK_WIDGET (thumbview),