From fb54867e1f8fc420905e0bbd58e8626c7bf7ce5d Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 14 Feb 2008 19:24:05 +0000 Subject: Do not apply prefs to a view more than once. svn path=/trunk/; revision=7943 --- embed/webkit/webkit-embed-prefs.c | 11 ----------- 1 file changed, 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 @@ -34,15 +34,6 @@ webkit_embed_prefs_apply (WebKitEmbed *embed, WebKitWebSettings *settings) 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, @@ -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; -- cgit v1.2.3