diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-05 19:49:16 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-05 19:49:16 +0000 |
commit | 07dfd77348e366b922bf12e0ae51619cfb5636d5 (patch) | |
tree | d7f1bfd66e6bc6c330d6094ee61fa57d7a19fee5 /src/ephy-navigation-action.c | |
parent | 95156e10ff8f5e1ed863735a5d4842dc02f0deb3 (diff) | |
download | epiphany-07dfd77348e366b922bf12e0ae51619cfb5636d5.tar.gz |
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.c | 10 |
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) |