aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-05 04:56:33 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-05 04:56:33 +0800
commitb1c398cec070c58d4a287ab8e7d9bffde1b0a20b (patch)
tree0c5980d393b1e634773ca2b629c5d4bbe17ecec6 /src/prefs-dialog.c
parent54c88bfb012c3af321480eb685937052d2fa2292 (diff)
downloadgsoc2013-epiphany-b1c398cec070c58d4a287ab8e7d9bffde1b0a20b.tar.gz
gsoc2013-epiphany-b1c398cec070c58d4a287ab8e7d9bffde1b0a20b.tar.zst
gsoc2013-epiphany-b1c398cec070c58d4a287ab8e7d9bffde1b0a20b.zip
Same here.
2004-10-04 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (prefs_dialog_init): Same here.
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index abd0d7da6..b2529eb62 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1152,7 +1152,6 @@ prefs_dialog_init (PrefsDialog *pd)
EphyDialog *dialog = EPHY_DIALOG (pd);
EphyEncodings *encodings;
GtkWidget *window, *button, *combo;
- GdkPixbuf *icon;
GtkCellRenderer *renderer;
gboolean sensitive;
@@ -1173,13 +1172,7 @@ prefs_dialog_init (PrefsDialog *pd)
NULL);
window = ephy_dialog_get_control (dialog, properties[WINDOW_PROP].id);
-
- icon = gtk_widget_render_icon (window,
- GTK_STOCK_PREFERENCES,
- GTK_ICON_SIZE_MENU,
- "prefs_dialog");
- gtk_window_set_icon (GTK_WINDOW (window), icon);
- g_object_unref(icon);
+ gtk_window_set_icon_name (GTK_WINDOW (window), GTK_STOCK_PREFERENCES);
/* set homepage button sensitivity */
sensitive = eel_gconf_key_is_writable (CONF_GENERAL_HOMEPAGE);