epiphany r8274 - in trunk: embed lib



Author: cosimoc
Date: Mon Jun  9 22:37:20 2008
New Revision: 8274
URL: http://svn.gnome.org/viewvc/epiphany?rev=8274&view=rev

Log:
Fix some build warnings. Bug #537487.


Modified:
   trunk/embed/ephy-adblock-manager.c
   trunk/embed/ephy-embed-shell.c
   trunk/embed/ephy-favicon-cache.c
   trunk/lib/ephy-module.c

Modified: trunk/embed/ephy-adblock-manager.c
==============================================================================
--- trunk/embed/ephy-adblock-manager.c	(original)
+++ trunk/embed/ephy-adblock-manager.c	Mon Jun  9 22:37:20 2008
@@ -85,8 +85,6 @@
 static void
 ephy_adblock_manager_init (EphyAdBlockManager *self)
 {
-	EphyAdBlockManagerPrivate *priv;
-
 	LOG ("ephy_adblock_manager_init");
 
 	self->priv = EPHY_ADBLOCK_MANAGER_GET_PRIVATE(self);

Modified: trunk/embed/ephy-embed-shell.c
==============================================================================
--- trunk/embed/ephy-embed-shell.c	(original)
+++ trunk/embed/ephy-embed-shell.c	Mon Jun  9 22:37:20 2008
@@ -23,6 +23,7 @@
 #include <glib.h>
 
 #include <glib/gi18n.h>
+#include <glib/gstdio.h>
 #include <gtk/gtk.h>
 
 #include "downloader-view.h"

Modified: trunk/embed/ephy-favicon-cache.c
==============================================================================
--- trunk/embed/ephy-favicon-cache.c	(original)
+++ trunk/embed/ephy-favicon-cache.c	Mon Jun  9 22:37:20 2008
@@ -39,6 +39,7 @@
 #include "ephy-glib-compat.h"
 
 #include <glib.h>
+#include <glib/gstdio.h>
 #include <gio/gio.h>
 
 #define EPHY_FAVICON_CACHE_XML_ROOT    (const xmlChar *)"ephy_favicons_cache"

Modified: trunk/lib/ephy-module.c
==============================================================================
--- trunk/lib/ephy-module.c	(original)
+++ trunk/lib/ephy-module.c	Mon Jun  9 22:37:20 2008
@@ -124,7 +124,7 @@
 
 	if (module->library == NULL)
 	{
-		g_warning (g_module_error());
+		g_warning ("%s", g_module_error());
 
 		return FALSE;
 	}
@@ -133,7 +133,7 @@
 	if (!g_module_symbol (module->library, "register_module",
 			      (void *) &register_func))
 	{
-		g_warning (g_module_error());
+		g_warning ("%s", g_module_error());
 		g_module_close (module->library);
 
 		return FALSE;



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