summaryrefslogtreecommitdiff
path: root/src/eom-scroll-view.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-04-29 16:54:34 +0200
committerraveit65 <[email protected]>2018-05-03 11:17:26 +0200
commit03783b9e98118daabb31801ca0943a5b72d5db1d (patch)
tree7050ceb0c96f2d3d689b71c0d96705c51c305f66 /src/eom-scroll-view.c
parent51fc70f501fc46091aecbd2a35f613a4eba307cb (diff)
downloadeom-03783b9e98118daabb31801ca0943a5b72d5db1d.tar.bz2
eom-03783b9e98118daabb31801ca0943a5b72d5db1d.tar.xz
fix some -Wincompatible-pointer-types warnings
Diffstat (limited to 'src/eom-scroll-view.c')
-rw-r--r--src/eom-scroll-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index a461b67..423247b 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -2160,7 +2160,7 @@ eom_scroll_view_set_popup (EomScrollView *view,
g_return_if_fail (EOM_IS_SCROLL_VIEW (view));
g_return_if_fail (view->priv->menu == NULL);
- view->priv->menu = g_object_ref (menu);
+ view->priv->menu = g_object_ref (GTK_WIDGET (menu));
gtk_menu_attach_to_widget (GTK_MENU (view->priv->menu),
GTK_WIDGET (view),