From e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 9 Jun 2008 22:37:20 +0000 Subject: Fix some build warnings. Bug #537487. svn path=/trunk/; revision=8274 --- embed/ephy-adblock-manager.c | 2 -- embed/ephy-embed-shell.c | 1 + embed/ephy-favicon-cache.c | 1 + lib/ephy-module.c | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/embed/ephy-adblock-manager.c b/embed/ephy-adblock-manager.c index d14966889..5f714c138 100644 --- a/embed/ephy-adblock-manager.c +++ b/embed/ephy-adblock-manager.c @@ -85,8 +85,6 @@ ephy_adblock_manager_should_load (EphyAdBlockManager *self, static void ephy_adblock_manager_init (EphyAdBlockManager *self) { - EphyAdBlockManagerPrivate *priv; - LOG ("ephy_adblock_manager_init"); self->priv = EPHY_ADBLOCK_MANAGER_GET_PRIVATE(self); diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c index d13ad9886..9d9d8e6b6 100644 --- a/embed/ephy-embed-shell.c +++ b/embed/ephy-embed-shell.c @@ -23,6 +23,7 @@ #include #include +#include #include #include "downloader-view.h" diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index 3087aef4d..22cf67209 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -39,6 +39,7 @@ #include "ephy-glib-compat.h" #include +#include #include #define EPHY_FAVICON_CACHE_XML_ROOT (const xmlChar *)"ephy_favicons_cache" diff --git a/lib/ephy-module.c b/lib/ephy-module.c index 63e626ab9..86fa9bbe6 100644 --- a/lib/ephy-module.c +++ b/lib/ephy-module.c @@ -124,7 +124,7 @@ ephy_module_load (GTypeModule *gmodule) if (module->library == NULL) { - g_warning (g_module_error()); + g_warning ("%s", g_module_error()); return FALSE; } @@ -133,7 +133,7 @@ ephy_module_load (GTypeModule *gmodule) if (!g_module_symbol (module->library, "register_module", (void *) ®ister_func)) { - g_warning (g_module_error()); + g_warning ("%s", g_module_error()); g_module_close (module->library); return FALSE; -- cgit v1.2.3