aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-08-14 20:37:49 +0800
committerChristian Persch <chpe@src.gnome.org>2003-08-14 20:37:49 +0800
commit83d079f0b909106f3c3da16fd62a7cdfdf6b07e2 (patch)
treeeda0474dc55bed2b277954ab6150a89e84cafc1e
parente2f4950b570a583b73bb45368cb86b533e9ce71a (diff)
downloadgsoc2013-epiphany-83d079f0b909106f3c3da16fd62a7cdfdf6b07e2.tar
gsoc2013-epiphany-83d079f0b909106f3c3da16fd62a7cdfdf6b07e2.tar.gz
gsoc2013-epiphany-83d079f0b909106f3c3da16fd62a7cdfdf6b07e2.tar.bz2
gsoc2013-epiphany-83d079f0b909106f3c3da16fd62a7cdfdf6b07e2.tar.lz
gsoc2013-epiphany-83d079f0b909106f3c3da16fd62a7cdfdf6b07e2.tar.xz
gsoc2013-epiphany-83d079f0b909106f3c3da16fd62a7cdfdf6b07e2.tar.zst
gsoc2013-epiphany-83d079f0b909106f3c3da16fd62a7cdfdf6b07e2.zip
Fix compiler warnings.
2003-08-14 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (impl_add_item): Fix compiler warnings.
-rw-r--r--ChangeLog8
-rwxr-xr-xlib/egg/egg-toolbars-model.c6
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 381c302ba..dac0cab68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-14 Christian Persch <chpe@cvs.gnome.org>
+
+ * lib/egg/egg-toolbars-model.c: (impl_add_item):
+
+ Fix compiler warnings.
+
2003-08-13 Xan Lopez <xan@masilla.org>
* src/bookmarks/ephy-bookmarks-editor.c:
@@ -122,7 +128,7 @@
2003-08-08 Christian Persch <chpe@cvs.gnome.org>
- * embed/print-dialog.c: (print_free_info), (print_get_inf):
+ * embed/print-dialog.c: (print_free_info), (print_get_info):
Fix mem leaks.
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index 436f018d7..246c40f5e 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -325,9 +325,9 @@ impl_add_item (EggToolbarsModel *t,
EggToolbarsItem *item;
int real_position;
- g_return_if_fail (IS_EGG_TOOLBARS_MODEL (t));
- g_return_if_fail (id != NULL);
- g_return_if_fail (type != NULL);
+ g_return_val_if_fail (IS_EGG_TOOLBARS_MODEL (t), FALSE);
+ g_return_val_if_fail (id != NULL, FALSE);
+ g_return_val_if_fail (type != NULL, FALSE);
parent_node = g_node_nth_child (t->priv->toolbars, toolbar_position);
item = toolbars_item_new (id, type, FALSE);