aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-10 21:34:44 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-10 21:34:44 +0800
commitfce8b158d7cf5a6d6dc7399e06a967d8864642aa (patch)
treecabc059d1a18d53fa4f941ff1ccdf7ab2496dd59
parentfa7475f9cbfa736852e3670bb7e35997716cc7fb (diff)
downloadgsoc2013-epiphany-fce8b158d7cf5a6d6dc7399e06a967d8864642aa.tar
gsoc2013-epiphany-fce8b158d7cf5a6d6dc7399e06a967d8864642aa.tar.gz
gsoc2013-epiphany-fce8b158d7cf5a6d6dc7399e06a967d8864642aa.tar.bz2
gsoc2013-epiphany-fce8b158d7cf5a6d6dc7399e06a967d8864642aa.tar.lz
gsoc2013-epiphany-fce8b158d7cf5a6d6dc7399e06a967d8864642aa.tar.xz
gsoc2013-epiphany-fce8b158d7cf5a6d6dc7399e06a967d8864642aa.tar.zst
gsoc2013-epiphany-fce8b158d7cf5a6d6dc7399e06a967d8864642aa.zip
Fix compile warning.
2003-11-10 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_load): Fix compile warning.
-rw-r--r--ChangeLog6
-rwxr-xr-xlib/egg/egg-toolbars-model.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 991ea3b46..e247c7d7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-10 Christian Persch <chpe@cvs.gnome.org>
+
+ * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_load):
+
+ Fix compile warning.
+
2003-11-09 Christian Persch <chpe@cvs.gnome.org>
* src/session.c: (save_tab):
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index d28e95ec6..421184e2f 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -430,7 +430,7 @@ egg_toolbars_model_load (EggToolbarsModel *t,
xmlDocPtr doc;
xmlNodePtr root;
- g_return_if_fail (IS_EGG_TOOLBARS_MODEL (t));
+ g_return_val_if_fail (IS_EGG_TOOLBARS_MODEL (t), FALSE);
doc = xmlParseFile (xml_file);
if (doc == NULL)