aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-07 21:29:24 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-07 21:29:24 +0800
commit3ce5c231f8b4e520448a47f3633fb239b6404121 (patch)
tree887df33ce540c7a3d34dc799ccfa02f4bd324b57
parent95ab661212ef1d24bfd015230b627427adbb96f4 (diff)
downloadgsoc2013-epiphany-3ce5c231f8b4e520448a47f3633fb239b6404121.tar
gsoc2013-epiphany-3ce5c231f8b4e520448a47f3633fb239b6404121.tar.gz
gsoc2013-epiphany-3ce5c231f8b4e520448a47f3633fb239b6404121.tar.bz2
gsoc2013-epiphany-3ce5c231f8b4e520448a47f3633fb239b6404121.tar.lz
gsoc2013-epiphany-3ce5c231f8b4e520448a47f3633fb239b6404121.tar.xz
gsoc2013-epiphany-3ce5c231f8b4e520448a47f3633fb239b6404121.tar.zst
gsoc2013-epiphany-3ce5c231f8b4e520448a47f3633fb239b6404121.zip
Fix compilation with gtk+ 2.4.x.
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.
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-gui.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b772e76f..98d6d325e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
{