aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-gui.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a6514c0a6..ee92c5a0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;