aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-09 23:03:48 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-09 23:03:48 +0800
commit481db20f90d4bba5f68e8597dfa10e8dfdd3bc71 (patch)
treea5fa9edefe52c80d0b496e0c5ba0c4d5c781bf5a
parent4db18fadc560f190147edc9d64d7f8aa129f9248 (diff)
downloadgsoc2013-epiphany-481db20f90d4bba5f68e8597dfa10e8dfdd3bc71.tar
gsoc2013-epiphany-481db20f90d4bba5f68e8597dfa10e8dfdd3bc71.tar.gz
gsoc2013-epiphany-481db20f90d4bba5f68e8597dfa10e8dfdd3bc71.tar.bz2
gsoc2013-epiphany-481db20f90d4bba5f68e8597dfa10e8dfdd3bc71.tar.lz
gsoc2013-epiphany-481db20f90d4bba5f68e8597dfa10e8dfdd3bc71.tar.xz
gsoc2013-epiphany-481db20f90d4bba5f68e8597dfa10e8dfdd3bc71.tar.zst
gsoc2013-epiphany-481db20f90d4bba5f68e8597dfa10e8dfdd3bc71.zip
Fix compilation with gcc 2.95.
2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (compare_actions): Fix compilation with gcc 2.95.
-rw-r--r--ChangeLog6
-rwxr-xr-xlib/egg/egg-toolbar-editor.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ec8bee91..004ae658f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-08-09 Christian Persch <chpe@cvs.gnome.org>
+ * lib/egg/egg-toolbar-editor.c: (compare_actions):
+
+ Fix compilation with gcc 2.95.
+
+2004-08-09 Christian Persch <chpe@cvs.gnome.org>
+
* lib/widgets/ephy-label.c:
Include config.h upfront.
diff --git a/lib/egg/egg-toolbar-editor.c b/lib/egg/egg-toolbar-editor.c
index e0c48dab5..33c6c82e9 100755
--- a/lib/egg/egg-toolbar-editor.c
+++ b/lib/egg/egg-toolbar-editor.c
@@ -100,11 +100,9 @@ egg_toolbar_editor_get_type (void)
}
static gint
-compare_actions (gconstpointer a, gconstpointer b)
+compare_actions (gconstpointer a,
+ gconstpointer b)
{
- g_return_val_if_fail (GTK_IS_ACTION (a), 0);
- g_return_val_if_fail (GTK_IS_ACTION (b), 0);
-
GValue value_a = { 0, }, value_b = { 0, };
const char *short_label_a, *short_label_b;
int ret;