From 481db20f90d4bba5f68e8597dfa10e8dfdd3bc71 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 9 Aug 2004 15:03:48 +0000 Subject: Fix compilation with gcc 2.95. 2004-08-09 Christian Persch * lib/egg/egg-toolbar-editor.c: (compare_actions): Fix compilation with gcc 2.95. --- lib/egg/egg-toolbar-editor.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/egg') 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; -- cgit v1.2.3