real fix thise time : don't use glib 2.4 specific defines
authorStéphane Loeuillet <gstreamer@leroutier.net>
Wed, 2 Jun 2004 12:01:52 +0000 (12:01 +0000)
committerStéphane Loeuillet <gstreamer@leroutier.net>
Wed, 2 Jun 2004 12:01:52 +0000 (12:01 +0000)
Original commit message from CVS:
real fix thise time : don't use glib 2.4 specific defines

ChangeLog
gst-libs/gst/mixer/mixertrack.c

index fc9fca0e2a74bb36ee2718af74842a0008e8a1ae..3d38b5be70cd561aafc5f3be0ab6f77c3d2dec77 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,8 +34,8 @@
 
        * ext/vorbis/vorbisdec.c : sign warning fixes
 
-       * gst-libs/gst/mixer/mixertrack.c : forgoten include
-         to define newly used G_MAXINT32, bad owen, bad
+       * gst-libs/gst/mixer/mixertrack.c :
+         do no use defines which are glib 2.4 specific
 
 2004-06-01  Christophe Fergeau  <teuf@gnome.org>
 
index 2bada7cabea4c6faf6e8253291ee799c3f530818..ea531d5f3b5f7b5a53dedee1b531689589ba5c8b 100644 (file)
@@ -23,8 +23,6 @@
 #include "config.h"
 #endif
 
-#include <glib.h>
-
 #include "mixertrack.h"
 
 enum
@@ -98,18 +96,18 @@ gst_mixer_track_class_init (GstMixerTrackClass * klass)
 
   g_object_class_install_property (object_klass, ARG_MIN_VOLUME,
       g_param_spec_int ("min_volume", "Minimum volume level",
-          "The minimum possible volume level", G_MININT32, G_MAXINT,
+          "The minimum possible volume level", G_MININT, G_MAXINT,
           0, G_PARAM_READABLE));
 
   g_object_class_install_property (object_klass, ARG_MAX_VOLUME,
       g_param_spec_int ("max_volume", "Maximum volume level",
-          "The maximum possible volume level", G_MININT32, G_MAXINT,
+          "The maximum possible volume level", G_MININT, G_MAXINT,
           0, G_PARAM_READABLE));
 
   g_object_class_install_property (object_klass, ARG_FLAGS,
       g_param_spec_uint ("flags", "Flags",
           "Flags indicating the type of mixer track",
-          0, G_MAXUINT32, 0, G_PARAM_READABLE));
+          0, G_MAXUINT, 0, G_PARAM_READABLE));
 
   g_object_class_install_property (object_klass, ARG_NUM_CHANNELS,
       g_param_spec_int ("num_channels", "Number of channels",