diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-gui.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2004-10-07 Christian Persch <chpe@cvs.gnome.org> + + * lib/ephy-gui.c: (ephy_gui_set_default_window_icon): + + Fix compilation with gtk+ 2.4.x. + 2004-10-07 Marco Pesenti Gritti <marco@gnome.org> * configure.in: diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c index 5cf8ea5bc..58880e075 100644 --- a/lib/ephy-gui.c +++ b/lib/ephy-gui.c @@ -38,6 +38,7 @@ #include <gtk/gtkmain.h> #include <gtk/gtkwindow.h> #include <gtk/gtkversion.h> +#include <gtk/gtkicontheme.h> /* Styles for tab labels */ GtkStyle *loading_text_style = NULL; @@ -281,7 +282,7 @@ ephy_gui_set_default_window_icon (GtkWindow *window) g_warning ("Web browser gnome icon not found"); } - gtk_window_set_icon (GTK_WINDOW (about), icon); + gtk_window_set_icon (GTK_WINDOW (window), icon); if (icon != NULL) { |