gst/gstvalue.c: make the G_TYPE_DATE instantiation work if debug is disabled
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 7 Jan 2006 10:04:36 +0000 (10:04 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 7 Jan 2006 10:04:36 +0000 (10:04 +0000)
Original commit message from CVS:

* gst/gstvalue.c: (_gst_value_initialize):
make the G_TYPE_DATE instantiation work if debug is disabled

ChangeLog
gst/gstvalue.c

index 2aeeec4..1c3a1a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gstvalue.c: (_gst_value_initialize):
+         make the G_TYPE_DATE instantiation work if debug is disabled
+
 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst/gstmessage.c: (gst_message_parse_tag),
index 8445f5b..046b7f4 100644 (file)
@@ -4002,7 +4002,7 @@ _gst_value_initialize (void)
   {
     volatile GType date_type = G_TYPE_DATE;
 
-    GST_LOG ("Faking out the compiler: %d", date_type);
+    g_type_name (date_type);
   }
 #endif