diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-09-22 05:00:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-09-22 05:00:01 +0800 |
commit | 95ade17d38ca045d57a50ced5a830d31a1d83343 (patch) | |
tree | e0b00f55045f7dd7a2c473c51cb899b848753812 | |
parent | 40949719c38f6ff13b25c5b664d7b74e7e8f8b8e (diff) | |
download | gsoc2013-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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-gui.c | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2005-09-21 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-gui.c: + + Fix compile warnings. + +2005-09-21 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EphyUtils.cpp: * embed/print-dialog.c: (ephy_print_do_print_idle_cb): 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; |