From 95ade17d38ca045d57a50ced5a830d31a1d83343 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 21 Sep 2005 21:00:01 +0000 Subject: Fix compile warnings. 2005-09-21 Christian Persch * lib/ephy-gui.c: Fix compile warnings. --- ChangeLog | 6 ++++++ lib/ephy-gui.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a6514c0a6..ee92c5a0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-09-21 Christian Persch + + * lib/ephy-gui.c: + + Fix compile warnings. + 2005-09-21 Christian Persch * embed/mozilla/EphyUtils.cpp: 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; -- cgit v1.2.3