[epiphany] Fix warnings when compiling with WebKit master



commit f0ca055dd2b560b0b14ceb54e74d88223c472680
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Jul 21 16:35:14 2014 -0500

    Fix warnings when compiling with WebKit master

 embed/ephy-embed-prefs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index db926e6..2f39be2 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -60,7 +60,7 @@ user_style_sheet_output_stream_splice_cb (GOutputStream *output_stream,
     style_sheet = webkit_user_style_sheet_new (g_memory_output_stream_get_data (G_MEMORY_OUTPUT_STREAM 
(output_stream)),
                                                WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES, 
WEBKIT_USER_STYLE_LEVEL_USER,
                                                NULL, NULL);
-    webkit_user_content_manager_add_style_sheet (ephy_embed_shell_get_user_content_manager 
(ephy_embed_shell_get_default ()),
+    webkit_user_content_manager_add_style_sheet (WEBKIT_USER_CONTENT_MANAGER 
(ephy_embed_shell_get_user_content_manager (ephy_embed_shell_get_default ())),
                                                  style_sheet);
     webkit_user_style_sheet_unref (style_sheet);
 #else
@@ -106,7 +106,7 @@ webkit_pref_callback_user_stylesheet (GSettings *settings,
 
   if (!value)
 #if WEBKIT_CHECK_VERSION(2, 5, 0)
-    webkit_user_content_manager_remove_all_style_sheets (ephy_embed_shell_get_user_content_manager 
(ephy_embed_shell_get_default ()));
+    webkit_user_content_manager_remove_all_style_sheets (WEBKIT_USER_CONTENT_MANAGER 
(ephy_embed_shell_get_user_content_manager (ephy_embed_shell_get_default ())));
 #else
     webkit_web_view_group_remove_all_user_style_sheets (web_view_group);
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]