diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-10-21 23:02:29 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2009-10-26 18:46:19 +0100 |
commit | 12061507b40532c0123dfa3f107fa64075817eb3 (patch) | |
tree | f43beac0d2cb14f134d274bd539bfb5202cb2285 /gtk/gtktreeprivate.h | |
parent | 42aebf51a293c86a6481c0ab7231087f8964c8a4 (diff) | |
download | gtk+-12061507b40532c0123dfa3f107fa64075817eb3.tar.gz |
Use G_STRFUNC and G_STRLOC instead __FUNCTION__ and __FILE__
Diffstat (limited to 'gtk/gtktreeprivate.h')
-rw-r--r-- | gtk/gtktreeprivate.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h index 44259abe35..8b672f26cc 100644 --- a/gtk/gtktreeprivate.h +++ b/gtk/gtktreeprivate.h @@ -285,14 +285,13 @@ struct _GtkTreeViewPrivate { \ g_log (G_LOG_DOMAIN, \ G_LOG_LEVEL_CRITICAL, \ - "file %s: line %d (%s): assertion `%s' failed.\n" \ + "%s (%s): assertion `%s' failed.\n" \ "There is a disparity between the internal view of the GtkTreeView,\n" \ "and the GtkTreeModel. This generally means that the model has changed\n"\ "without letting the view know. Any display from now on is likely to\n" \ "be incorrect.\n", \ - __FILE__, \ - __LINE__, \ - __PRETTY_FUNCTION__, \ + G_STRLOC, \ + G_STRFUNC, \ #expr); \ return ret; \ }; }G_STMT_END @@ -302,14 +301,13 @@ struct _GtkTreeViewPrivate { \ g_log (G_LOG_DOMAIN, \ G_LOG_LEVEL_CRITICAL, \ - "file %s: line %d (%s): assertion `%s' failed.\n" \ + "%s (%s): assertion `%s' failed.\n" \ "There is a disparity between the internal view of the GtkTreeView,\n" \ "and the GtkTreeModel. This generally means that the model has changed\n"\ "without letting the view know. Any display from now on is likely to\n" \ "be incorrect.\n", \ - __FILE__, \ - __LINE__, \ - __PRETTY_FUNCTION__, \ + G_STRLOC, \ + G_STRFUNC, \ #expr); \ return; \ }; }G_STMT_END |