aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-gui.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-09-22 05:00:01 +0800
committerChristian Persch <chpe@src.gnome.org>2005-09-22 05:00:01 +0800
commit95ade17d38ca045d57a50ced5a830d31a1d83343 (patch)
treee0b00f55045f7dd7a2c473c51cb899b848753812 /lib/ephy-gui.c
parent40949719c38f6ff13b25c5b664d7b74e7e8f8b8e (diff)
downloadgsoc2013-epiphany-95ade17d38ca045d57a50ced5a830d31a1d83343.tar
gsoc2013-epiphany-95ade17d38ca045d57a50ced5a830d31a1d83343.tar.gz
gsoc2013-epiphany-95ade17d38ca045d57a50ced5a830d31a1d83343.tar.bz2
gsoc2013-epiphany-95ade17d38ca045d57a50ced5a830d31a1d83343.tar.lz
gsoc2013-epiphany-95ade17d38ca045d57a50ced5a830d31a1d83343.tar.xz
gsoc2013-epiphany-95ade17d38ca045d57a50ced5a830d31a1d83343.tar.zst
gsoc2013-epiphany-95ade17d38ca045d57a50ced5a830d31a1d83343.zip
Fix compile warnings.
2005-09-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: Fix compile warnings.
Diffstat (limited to 'lib/ephy-gui.c')
-rw-r--r--lib/ephy-gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c
index 47a5544a5..2e591c5e7 100644
--- a/lib/ephy-gui.c
+++ b/lib/ephy-gui.c
@@ -200,7 +200,7 @@ ephy_gui_menu_position_on_toolbar (GtkMenu *menu,
g_return_if_fail (GTK_IS_WIDGET (widget));
- toolbar = gtk_widget_get_ancestor (widget, GTK_TYPE_TOOLBAR);
+ toolbar = GTK_TOOLBAR (gtk_widget_get_ancestor (widget, GTK_TYPE_TOOLBAR));
g_return_if_fail (toolbar != NULL);
gtk_widget_size_request (widget, &req);
@@ -309,7 +309,6 @@ ephy_gui_check_location_writable (GtkWidget *parent,
{
GtkWidget *dialog;
char *display_name;
- gboolean retval;
if (filename == NULL) return FALSE;