aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2008-06-10 06:37:20 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2008-06-10 06:37:20 +0800
commite6d988259788b5d5eb1e2fda40cfb9c0f5c1700f (patch)
tree02c69f6027268e912a34f778a6eaaf524dd149c7
parent5296c935bf1faa6da9c4893060b2642e9a69962b (diff)
downloadgsoc2013-epiphany-e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f.tar
gsoc2013-epiphany-e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f.tar.gz
gsoc2013-epiphany-e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f.tar.bz2
gsoc2013-epiphany-e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f.tar.lz
gsoc2013-epiphany-e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f.tar.xz
gsoc2013-epiphany-e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f.tar.zst
gsoc2013-epiphany-e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f.zip
Fix some build warnings. Bug #537487.
svn path=/trunk/; revision=8274
-rw-r--r--embed/ephy-adblock-manager.c2
-rw-r--r--embed/ephy-embed-shell.c1
-rw-r--r--embed/ephy-favicon-cache.c1
-rw-r--r--lib/ephy-module.c4
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 <glib.h>
#include <glib/gi18n.h>
+#include <glib/gstdio.h>
#include <gtk/gtk.h>
#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 <glib.h>
+#include <glib/gstdio.h>
#include <gio/gio.h>
#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 *) &register_func))
{
- g_warning (g_module_error());
+ g_warning ("%s", g_module_error());
g_module_close (module->library);
return FALSE;