aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-network-prefs.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-08-05 02:45:12 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-05 02:45:12 +0800
commit8781122643884eea343afc4117d6d05f2ff95392 (patch)
treed6411d3a5f3cfcdc3b719905ac55fa38892636af /mail/em-network-prefs.c
parentc83b4d0ad9fe0bbf7576610468a8b3875269c0c5 (diff)
downloadgsoc2013-evolution-8781122643884eea343afc4117d6d05f2ff95392.tar.gz
gsoc2013-evolution-8781122643884eea343afc4117d6d05f2ff95392.tar.zst
gsoc2013-evolution-8781122643884eea343afc4117d6d05f2ff95392.zip
Use G_STRLOC or G_STRFUNC instead of deprecated G_GNUC_PRETTY_FUNCTION.
2008-08-04 Matthew Barnes <mbarnes@redhat.com> * mail/em-migrate.c (migrate_to_db): * mail/em-network-prefs.c (notify_proxy_type_changed), (widget_entry_changed_cb): * mail/em-subscribe-editor.c (sub_fill_level), (sub_queue_fill_level), (sub_row_expanded): * mail/mail-vfolder.c: Use G_STRLOC or G_STRFUNC instead of deprecated G_GNUC_PRETTY_FUNCTION. svn path=/trunk/; revision=35904
Diffstat (limited to 'mail/em-network-prefs.c')
-rw-r--r--mail/em-network-prefs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/em-network-prefs.c b/mail/em-network-prefs.c
index 6a53581b56..31b703864a 100644
--- a/mail/em-network-prefs.c
+++ b/mail/em-network-prefs.c
@@ -323,8 +323,7 @@ notify_proxy_type_changed (GtkWidget *widget, EMNetworkPrefs *prefs)
emnp_set_sensitiveness (prefs, NETWORK_PROXY_MANUAL, FALSE);
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__,G_GNUC_PRETTY_FUNCTION, __LINE__));
+ d(g_print ("%s:%s: Loading sys settings... \n", G_STRLOC, G_STRFUNC));
emnp_load_sys_settings (prefs->gconf);
}
@@ -357,11 +356,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__,G_GNUC_PRETTY_FUNCTION, __LINE__, (const char *)data, port));
+ d(g_print ("%s:%s: %s is SpinButton: value = [%d]\n", G_STRLOC, G_STRFUNC, (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__,G_GNUC_PRETTY_FUNCTION, __LINE__, (const char *)data, value));
+ d(g_print ("%s:%s: %s is Entry: value = [%s]\n", G_STRLOC, G_STRFUNC, (const char *)data, value));
}
}