gtk+ r19418 - in trunk: . gtk



Author: mitch
Date: Mon Jan 28 15:16:13 2008
New Revision: 19418
URL: http://svn.gnome.org/viewvc/gtk+?rev=19418&view=rev

Log:
2008-01-28  Michael Natterer  <mitch imendio com>

	* gtk/gtktextchild.c
	* gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...



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 15:16:13 2008
@@ -60,7 +60,7 @@
     if ((anchor)->segment == NULL)                                      \
       {                                                                 \
         g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
-                   G_STRLOC);                                           \
+                   G_STRFUNC);                                          \
       }                                                                 \
   } G_STMT_END
 
@@ -69,7 +69,7 @@
     if ((anchor)->segment == NULL)                                      \
       {                                                                 \
         g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
-                   G_STRLOC);                                           \
+                   G_STRFUNC);                                          \
         return (val);                                                   \
       }                                                                 \
   } G_STMT_END

Modified: trunk/gtk/gtktextview.c
==============================================================================
--- trunk/gtk/gtktextview.c	(original)
+++ trunk/gtk/gtktextview.c	Mon Jan 28 15:16:13 2008
@@ -7935,7 +7935,7 @@
       break;
 
     default:
-      g_warning ("%s: bug!", G_STRLOC);
+      g_warning ("%s: bug!", G_STRFUNC);
       return;
       break;
     }
@@ -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_STRLOC);
+      g_warning ("%s: You can't get GTK_TEXT_WINDOW_PRIVATE, it has \"PRIVATE\" in the name because it is private.", G_STRFUNC);
       return NULL;
       break;
     }
 
-  g_warning ("%s: Unknown GtkTextWindowType", G_STRLOC);
+  g_warning ("%s: Unknown GtkTextWindowType", G_STRFUNC);
   return NULL;
 }
 
@@ -8275,11 +8275,11 @@
       break;
 
     case GTK_TEXT_WINDOW_PRIVATE:
-      g_warning ("%s: can't get coords for private windows", G_STRLOC);
+      g_warning ("%s: can't get coords for private windows", G_STRFUNC);
       break;
 
     default:
-      g_warning ("%s: Unknown GtkTextWindowType", G_STRLOC);
+      g_warning ("%s: Unknown GtkTextWindowType", G_STRFUNC);
       break;
     }
 }
@@ -8415,11 +8415,11 @@
       break;
 
     case GTK_TEXT_WINDOW_PRIVATE:
-      g_warning ("%s: can't get coords for private windows", G_STRLOC);
+      g_warning ("%s: can't get coords for private windows", G_STRFUNC);
       break;
 
     default:
-      g_warning ("%s: Unknown GtkTextWindowType", G_STRLOC);
+      g_warning ("%s: Unknown GtkTextWindowType", G_STRFUNC);
       break;
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]