[epiphany] ephy-web-extension: silence some warnings



commit b1c2a766c59a5cb82daa72c39b2c3c5cee884350
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Aug 26 18:30:14 2014 -0500

    ephy-web-extension: silence some warnings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735491

 embed/web-extension/ephy-web-extension.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 110416d..6705104 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -526,7 +526,7 @@ user_chosen_cb (WebKitDOMNode  *li,
 
 GtkStyleContext *global_entry_context = NULL;
 static GtkStyleContext*
-get_entry_style_context ()
+get_entry_style_context (void)
 {
   GtkWidgetPath *path;
 
@@ -545,7 +545,7 @@ get_entry_style_context ()
 }
 
 static char*
-get_selected_bgcolor ()
+get_selected_bgcolor (void)
 {
   GdkRGBA color;
   gtk_style_context_get_background_color (get_entry_style_context (),
@@ -555,7 +555,7 @@ get_selected_bgcolor ()
 }
 
 static char*
-get_selected_fgcolor ()
+get_selected_fgcolor (void)
 {
   GdkRGBA color;
   gtk_style_context_get_color (get_entry_style_context (),
@@ -565,7 +565,7 @@ get_selected_fgcolor ()
 }
 
 static char*
-get_bgcolor ()
+get_bgcolor (void)
 {
   GdkRGBA color;
   gtk_style_context_get_background_color (get_entry_style_context (),
@@ -575,7 +575,7 @@ get_bgcolor ()
 }
 
 static char*
-get_fgcolor ()
+get_fgcolor (void)
 {
   GdkRGBA color;
   gtk_style_context_get_color (get_entry_style_context (),
@@ -1358,7 +1358,6 @@ window_object_cleared_cb (WebKitScriptWorld *world,
                           EphyWebExtension  *extension)
 {
   WebKitDOMDocument *dom_document;
-  WebKitDOMHTMLElement *html_element;
   char *dom_url;
 
   if (g_strcmp0 (webkit_web_page_get_uri (web_page), "ephy-about:overview") == 0) {


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