gtk+ r19416 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19416 - in trunk: . gtk
- Date: Mon, 28 Jan 2008 13:01:02 +0000 (GMT)
Author: mitch
Date: Mon Jan 28 13:01:01 2008
New Revision: 19416
URL: http://svn.gnome.org/viewvc/gtk+?rev=19416&view=rev
Log:
2008-01-28 Michael Natterer <mitch imendio com>
* gtk/gtktextchild.c
* gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
is deprecated now).
Modified:
trunk/ChangeLog
trunk/gtk/gtktextchild.c
trunk/gtk/gtktextview.c
Modified: trunk/gtk/gtktextchild.c
==============================================================================
--- trunk/gtk/gtktextchild.c (original)
+++ trunk/gtk/gtktextchild.c Mon Jan 28 13:01:01 2008
@@ -55,21 +55,23 @@
#include "gtkintl.h"
#include "gtkalias.h"
-#define CHECK_IN_BUFFER(anchor) \
- G_STMT_START { \
- if ((anchor)->segment == NULL) \
- { \
- g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet", G_GNUC_FUNCTION); \
- } \
+#define CHECK_IN_BUFFER(anchor) \
+ G_STMT_START { \
+ if ((anchor)->segment == NULL) \
+ { \
+ g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
+ G_STRLOC); \
+ } \
} G_STMT_END
-#define CHECK_IN_BUFFER_RETURN(anchor, val) \
- G_STMT_START { \
- if ((anchor)->segment == NULL) \
- { \
- g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet", G_GNUC_FUNCTION); \
- return (val); \
- } \
+#define CHECK_IN_BUFFER_RETURN(anchor, val) \
+ G_STMT_START { \
+ if ((anchor)->segment == NULL) \
+ { \
+ g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
+ G_STRLOC); \
+ return (val); \
+ } \
} G_STMT_END
static GtkTextLineSegment *
Modified: trunk/gtk/gtktextview.c
==============================================================================
--- trunk/gtk/gtktextview.c (original)
+++ trunk/gtk/gtktextview.c Mon Jan 28 13:01:01 2008
@@ -8102,12 +8102,12 @@
break;
case GTK_TEXT_WINDOW_PRIVATE:
- g_warning ("%s: You can't get GTK_TEXT_WINDOW_PRIVATE, it has \"PRIVATE\" in the name because it is private.", G_GNUC_FUNCTION);
+ g_warning ("%s: You can't get GTK_TEXT_WINDOW_PRIVATE, it has \"PRIVATE\" in the name because it is private.", G_STRLOC);
return NULL;
break;
}
- g_warning ("%s: Unknown GtkTextWindowType", G_GNUC_FUNCTION);
+ g_warning ("%s: Unknown GtkTextWindowType", G_STRLOC);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]