Revision: 3427 http://geany.svn.sourceforge.net/geany/?rev=3427&view=rev Author: ntrel Date: 2008-12-28 16:20:52 +0000 (Sun, 28 Dec 2008)
Log Message: ----------- Use G_STRFUNC instead of G_GNUC_FUNCTION, which doesn't work for modern compilers.
Modified Paths: -------------- trunk/src/stash.c
Modified: trunk/src/stash.c =================================================================== --- trunk/src/stash.c 2008-12-28 13:40:26 UTC (rev 3426) +++ trunk/src/stash.c 2008-12-28 16:20:52 UTC (rev 3427) @@ -212,8 +212,8 @@ if (entry->setting_type == G_TYPE_STRV) handle_strv_setting(group, entry, keyfile, action); else - g_warning("Unhandled type for %s::%s in %s!", group->name, entry->key_name, - G_GNUC_FUNCTION); + g_warning("Unhandled type for %s::%s in %s()!", group->name, entry->key_name, + G_STRFUNC); } } } @@ -442,7 +442,7 @@ } if (!GTK_IS_WIDGET(widget)) { - g_warning("Unknown widget in %s!", G_GNUC_FUNCTION); + g_warning("Unknown widget in %s()!", G_STRFUNC); return NULL; } return widget; @@ -512,8 +512,8 @@ widget = get_widget(owner, entry->widget_id); if (!widget) { - g_warning("Unknown widget for %s::%s in %s!", group->name, entry->key_name, - G_GNUC_FUNCTION); + g_warning("Unknown widget for %s::%s in %s()!", group->name, entry->key_name, + G_STRFUNC); continue; }
@@ -529,8 +529,8 @@ else if (entry->widget_type == GTK_TYPE_ENTRY) handle_entry(widget, entry, action); else - g_warning("Unhandled type for %s::%s in %s!", group->name, entry->key_name, - G_GNUC_FUNCTION); + g_warning("Unhandled type for %s::%s in %s()!", group->name, entry->key_name, + G_STRFUNC); } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.