]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
gst/gstinfo.h (GST_FUNCTION): Made GST_FUNCTION an alias for G_STRFUNC to avoid dupli...
authorOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
Wed, 7 May 2008 18:51:22 +0000 (18:51 +0000)
committerOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
Wed, 7 May 2008 18:51:22 +0000 (18:51 +0000)
Original commit message from CVS:
* gst/gstinfo.h (GST_FUNCTION):
Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.

ChangeLog
common
gst/gstinfo.h

index 8ef4930e267c92a185345ad403a364c23e84f117..cec869c1cd312f0ddb87f15d7df6da56abb9ca04 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
+
+       * gst/gstinfo.h (GST_FUNCTION):
+         Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
+
 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
 
        * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
diff --git a/common b/common
index 9b28214399156457fd6b43d0604a47e4bdf19c28..ba3dd2882b1611f8115f9664e3b85e1fd956b53d 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 9b28214399156457fd6b43d0604a47e4bdf19c28
+Subproject commit ba3dd2882b1611f8115f9664e3b85e1fd956b53d
index b23f91741cc582e4e10c0ae6b1f17b38b9d75af2..56963ad6d1d237d18f9b0ac75bbc44b06539466a 100644 (file)
@@ -215,13 +215,7 @@ struct _GstDebugCategory {
  * output with the function name of the message.
  */
 #ifndef GST_FUNCTION
-#if defined (__GNUC__)
-#  define GST_FUNCTION     ((const char*) (__FUNCTION__))
-#elif defined (G_HAVE_ISO_VARARGS)
-#  define GST_FUNCTION     ((const char*) (__func__))
-#else
-#  define GST_FUNCTION     ((const char*) ("???"))
-#endif
+#  define GST_FUNCTION G_STRFUNC
 #endif /* ifndef GST_FUNCTION */