aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-01-29 23:24:04 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-01-29 23:24:04 +0800
commite8b3264480caffa92afc634f344505f2dac6db63 (patch)
tree223e0561b9b8b42dc12aa1189be8552600535d50 /addressbook
parent28618d82681cc3b67ef8a0686ce72bc7857d525c (diff)
downloadgsoc2013-evolution-e8b3264480caffa92afc634f344505f2dac6db63.tar.gz
gsoc2013-evolution-e8b3264480caffa92afc634f344505f2dac6db63.tar.zst
gsoc2013-evolution-e8b3264480caffa92afc634f344505f2dac6db63.zip
Replace G_GNUC_FUNCTION (deprecated) with G_STRFUNC.
2008-01-29 Matthew Barnes <mbarnes@redhat.com> * 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
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/widgets/e-minicard.c4
-rw-r--r--addressbook/gui/widgets/gal-view-minicard.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index c4fc2d714c..c94af5f428 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-29 Matthew Barnes <mbarnes@redhat.com>
+
+ * gui/widgets/e-minicard.c:
+ * gui/widgets/gal-view-minicard.c:
+ Replace G_GNUC_FUNCTION (deprecated) with G_STRFUNC.
+
2008-01-25 Milan Crha <mcrha@redhat.com>
** Fix for bug #512020
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));