aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-navigation-action.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-06 03:49:16 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-06 03:49:16 +0800
commit07dfd77348e366b922bf12e0ae51619cfb5636d5 (patch)
treed7f1bfd66e6bc6c330d6094ee61fa57d7a19fee5 /src/ephy-navigation-action.c
parent95156e10ff8f5e1ed863735a5d4842dc02f0deb3 (diff)
downloadgsoc2013-epiphany-07dfd77348e366b922bf12e0ae51619cfb5636d5.tar
gsoc2013-epiphany-07dfd77348e366b922bf12e0ae51619cfb5636d5.tar.gz
gsoc2013-epiphany-07dfd77348e366b922bf12e0ae51619cfb5636d5.tar.bz2
gsoc2013-epiphany-07dfd77348e366b922bf12e0ae51619cfb5636d5.tar.lz
gsoc2013-epiphany-07dfd77348e366b922bf12e0ae51619cfb5636d5.tar.xz
gsoc2013-epiphany-07dfd77348e366b922bf12e0ae51619cfb5636d5.tar.zst
gsoc2013-epiphany-07dfd77348e366b922bf12e0ae51619cfb5636d5.zip
Fix a warning, noticed by Crispin.
2004-10-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-navigation-action.c: (build_back_or_forward_menu), (build_up_menu), (menu_activated_cb): Fix a warning, noticed by Crispin.
Diffstat (limited to 'src/ephy-navigation-action.c')
-rw-r--r--src/ephy-navigation-action.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ephy-navigation-action.c b/src/ephy-navigation-action.c
index 8c1588621..45b7c110f 100644
--- a/src/ephy-navigation-action.c
+++ b/src/ephy-navigation-action.c
@@ -160,7 +160,7 @@ activate_up_menu_item_cb (GtkWidget *menuitem,
ephy_window_load_url (window, url);
}
-static GtkMenuShell *
+static GtkWidget *
build_back_or_forward_menu (EphyNavigationAction *action)
{
EphyWindow *window = action->priv->window;
@@ -223,10 +223,10 @@ build_back_or_forward_menu (EphyNavigationAction *action)
}
}
- return menu;
+ return GTK_WIDGET (menu);
}
-static GtkMenuShell *
+static GtkWidget *
build_up_menu (EphyNavigationAction *action)
{
EphyWindow *window = action->priv->window;
@@ -263,14 +263,14 @@ build_up_menu (EphyNavigationAction *action)
/* the list data has been consumed */
g_slist_free (list);
- return menu;
+ return GTK_WIDGET (menu);
}
static void
menu_activated_cb (GtkMenuToolButton *button,
EphyNavigationAction *action)
{
- GtkMenuShell *menu = NULL;
+ GtkWidget *menu = NULL;
LOG ("menu_activated_cb dir %d", action->priv->direction)