diff options
author | Xan Lopez <xan@src.gnome.org> | 2008-02-15 03:24:05 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2008-02-15 03:24:05 +0800 |
commit | fb54867e1f8fc420905e0bbd58e8626c7bf7ce5d (patch) | |
tree | 94207d56a3dbd86cc291fa1eef2b8c34fc391e52 /embed/webkit | |
parent | dcd3ffd455ff7b0e4e6ebed4be4d53552c7596a4 (diff) | |
download | gsoc2013-epiphany-fb54867e1f8fc420905e0bbd58e8626c7bf7ce5d.tar.gz gsoc2013-epiphany-fb54867e1f8fc420905e0bbd58e8626c7bf7ce5d.tar.zst gsoc2013-epiphany-fb54867e1f8fc420905e0bbd58e8626c7bf7ce5d.zip |
Do not apply prefs to a view more than once.
svn path=/trunk/; revision=7943
Diffstat (limited to 'embed/webkit')
-rw-r--r-- | embed/webkit/webkit-embed-prefs.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/embed/webkit/webkit-embed-prefs.c b/embed/webkit/webkit-embed-prefs.c index e55c2c1f2..e801e6e5b 100644 --- a/embed/webkit/webkit-embed-prefs.c +++ b/embed/webkit/webkit-embed-prefs.c @@ -35,15 +35,6 @@ webkit_embed_prefs_apply (WebKitEmbed *embed, WebKitWebSettings *settings) } static void -webkit_embed_prefs_apply_all (WebKitWebSettings *settings) -{ - GSList *p; - - for (p = embeds; p != NULL; p = p->next) - webkit_embed_prefs_apply (WEBKIT_EMBED (p->data), settings); -} - -static void notify_minimum_size_cb (GConfClient *client, guint cnxn_id, GConfEntry *entry, @@ -62,8 +53,6 @@ notify_minimum_size_cb (GConfClient *client, } g_object_set (settings, "minimum-font-size", size, NULL); - - webkit_embed_prefs_apply_all (settings); } static guint min_font_size_cnxn_id; |