diff options
author | Jeff Cai <jeff.cai@sun.com> | 2008-07-28 11:19:05 +0800 |
---|---|---|
committer | Jeff Cai <jeffcai@src.gnome.org> | 2008-07-28 11:19:05 +0800 |
commit | 9d89b214fd7b6a6b60ea1a808d472b783a30618a (patch) | |
tree | b356f9e4a50c6b5c8ddb6e2c3797e49d8268b5ff /mail/em-network-prefs.c | |
parent | 25eacebd0e2692e24757086b0f02744c86fbd93d (diff) | |
download | gsoc2013-evolution-9d89b214fd7b6a6b60ea1a808d472b783a30618a.tar.gz gsoc2013-evolution-9d89b214fd7b6a6b60ea1a808d472b783a30618a.tar.zst gsoc2013-evolution-9d89b214fd7b6a6b60ea1a808d472b783a30618a.zip |
Use G_GNUC_PRETTY_FUNCTION instead of __PRETTY__FUNCTION
2008-07-28 Jeff Cai <jeff.cai@sun.com>
* em-migrate.c: (migrate_to_db):
* em-network-prefs.c: (notify_proxy_type_changed),
(widget_entry_changed_cb):
Use G_GNUC_PRETTY_FUNCTION instead of __PRETTY__FUNCTION
svn path=/trunk/; revision=35844
Diffstat (limited to 'mail/em-network-prefs.c')
-rw-r--r-- | mail/em-network-prefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-network-prefs.c b/mail/em-network-prefs.c index ea44ef46b2..6a53581b56 100644 --- a/mail/em-network-prefs.c +++ b/mail/em-network-prefs.c @@ -324,7 +324,7 @@ notify_proxy_type_changed (GtkWidget *widget, EMNetworkPrefs *prefs) emnp_set_sensitiveness (prefs, NETWORK_PROXY_AUTOCONFIG, FALSE); if (type == NETWORK_PROXY_SYS_SETTINGS) { d(g_print ("%s:%s:%d: Loading sys settings... \n", - __FILE__, __PRETTY_FUNCTION__, __LINE__)); + __FILE__,G_GNUC_PRETTY_FUNCTION, __LINE__)); emnp_load_sys_settings (prefs->gconf); } @@ -357,11 +357,11 @@ widget_entry_changed_cb (GtkWidget *widget, gpointer data) if (GTK_IS_SPIN_BUTTON (widget)) { port = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (widget)); gconf_client_set_int (gconf, (const char *)data, port, NULL); - d(g_print ("%s:%s:%d: %s is SpinButton: value = [%d]\n", __FILE__, __PRETTY_FUNCTION__, __LINE__, (const char *)data, port)); + d(g_print ("%s:%s:%d: %s is SpinButton: value = [%d]\n", __FILE__,G_GNUC_PRETTY_FUNCTION, __LINE__, (const char *)data, port)); } else if (GTK_IS_ENTRY (widget)) { value = gtk_entry_get_text (GTK_ENTRY (widget)); gconf_client_set_string (gconf, (const char *)data, value, NULL); - d(g_print ("%s:%s:%d: %s is Entry: value = [%s]\n", __FILE__, __PRETTY_FUNCTION__, __LINE__, (const char *)data, value)); + d(g_print ("%s:%s:%d: %s is Entry: value = [%s]\n", __FILE__,G_GNUC_PRETTY_FUNCTION, __LINE__, (const char *)data, value)); } } |