openbsd-ports/x11/gnome/eel/patches/patch-test_test-eel-image-table_c
jasper fdd8c80aae - unbreak after recent glib2 update
testing and ok simon@
2008-04-09 13:24:46 +00:00

67 lines
2.0 KiB
Plaintext

$OpenBSD: patch-test_test-eel-image-table_c,v 1.1 2008/04/09 13:24:46 jasper Exp $
--- test/test-eel-image-table.c.orig Tue Apr 8 16:05:24 2008
+++ test/test-eel-image-table.c Tue Apr 8 16:05:50 2008
@@ -90,7 +90,7 @@ image_table_child_enter_callback (GtkWidget *image_tab
text = eel_labeled_image_get_text (EEL_LABELED_IMAGE (item));
- g_print ("%s(%s)\n", G_GNUC_FUNCTION, text);
+ g_print ("%s(%s)\n", G_STRFUNC, text);
#endif
}
@@ -107,7 +107,7 @@ image_table_child_leave_callback (GtkWidget *image_tab
text = eel_labeled_image_get_text (EEL_LABELED_IMAGE (item));
- g_print ("%s(%s)\n", G_GNUC_FUNCTION, text);
+ g_print ("%s(%s)\n", G_STRFUNC, text);
#endif
}
@@ -123,7 +123,7 @@ image_table_child_pressed_callback (GtkWidget *image_t
text = eel_labeled_image_get_text (EEL_LABELED_IMAGE (item));
- g_print ("%s(%s)\n", G_GNUC_FUNCTION, text);
+ g_print ("%s(%s)\n", G_STRFUNC, text);
}
static void
@@ -138,7 +138,7 @@ image_table_child_released_callback (GtkWidget *image_
text = eel_labeled_image_get_text (EEL_LABELED_IMAGE (item));
- g_print ("%s(%s)\n", G_GNUC_FUNCTION, text);
+ g_print ("%s(%s)\n", G_STRFUNC, text);
}
static void
@@ -153,7 +153,7 @@ image_table_child_clicked_callback (GtkWidget *image_t
text = eel_labeled_image_get_text (EEL_LABELED_IMAGE (item));
- g_print ("%s(%s)\n", G_GNUC_FUNCTION, text);
+ g_print ("%s(%s)\n", G_STRFUNC, text);
}
static int
@@ -164,7 +164,7 @@ foo_timeout (gpointer callback_data)
recursion_count++;
- g_print ("%s(%d)\n", G_GNUC_FUNCTION, recursion_count);
+ g_print ("%s(%d)\n", G_STRFUNC, recursion_count);
gtk_widget_queue_resize (GTK_WIDGET (callback_data));
recursion_count--;
@@ -192,7 +192,7 @@ image_table_size_allocate (GtkWidget *image_table,
if (0) gtk_widget_size_allocate (GTK_WIDGET (image_table),
&GTK_WIDGET (image_table)->allocation);
- g_print ("%s(%d)\n", G_GNUC_FUNCTION, recursion_count);
+ g_print ("%s(%d)\n", G_STRFUNC, recursion_count);
recursion_count--;
}