From e8b3264480caffa92afc634f344505f2dac6db63 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 29 Jan 2008 15:24:04 +0000 Subject: Replace G_GNUC_FUNCTION (deprecated) with G_STRFUNC. 2008-01-29 Matthew Barnes * addressbook/gui/widgets/e-minicard.c: * addressbook/gui/widgets/gal-view-minicard.c: * mail/mail-send-recv.c: * shell/e-component-registry.c: * widgets/menus/gal-view-collection.c: * widgets/menus/gal-view-instance.c: * widgets/menus/gal-view-menus.c: Replace G_GNUC_FUNCTION (deprecated) with G_STRFUNC. svn path=/trunk/; revision=34931 --- addressbook/gui/widgets/e-minicard.c | 4 ++-- addressbook/gui/widgets/gal-view-minicard.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 700a4f78a8..cf1dc03476 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -347,7 +347,7 @@ e_minicard_set_property (GObject *object, guint prop_id, const GValue *value, G } break; case PROP_HAS_CURSOR: - d(g_print("%s: PROP_HAS_CURSOR\n", G_GNUC_FUNCTION)); + d(g_print("%s: PROP_HAS_CURSOR\n", G_STRFUNC)); if (e_minicard->has_cursor != g_value_get_boolean (value)) set_has_cursor (e_minicard, g_value_get_boolean (value)); break; @@ -588,7 +588,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) case GDK_FOCUS_CHANGE: { GdkEventFocus *focus_event = (GdkEventFocus *) event; - d(g_print("%s: GDK_FOCUS_CHANGE: %s\n", G_GNUC_FUNCTION, focus_event->in?"in":"out")); + d(g_print("%s: GDK_FOCUS_CHANGE: %s\n", G_STRFUNC, focus_event->in?"in":"out")); if (focus_event->in) { /* Chris: When EMinicard gets the cursor, if it doesn't have the focus, it should take it. */ e_minicard->has_focus = TRUE; diff --git a/addressbook/gui/widgets/gal-view-minicard.c b/addressbook/gui/widgets/gal-view-minicard.c index cf0833d1fe..764c0edfe0 100644 --- a/addressbook/gui/widgets/gal-view-minicard.c +++ b/addressbook/gui/widgets/gal-view-minicard.c @@ -192,7 +192,7 @@ column_width_changed (EMinicardViewWidget *w, double width, EABView *address_vie GtkAdjustment *adj; GtkAdjustment *adj_new; - d(g_print("%s: Old width = %f, New width = %f\n", G_GNUC_FUNCTION, view->column_width, width)); + d(g_print("%s: Old width = %f, New width = %f\n", G_STRFUNC, view->column_width, width)); if (view->column_width != width) { view->column_width = width; gal_view_changed(GAL_VIEW(view)); -- cgit