From 2eed99edbf113f16cc7d8cb14462e7d6dfb7702e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Loeuillet?= Date: Wed, 2 Jun 2004 12:01:52 +0000 Subject: real fix thise time : don't use glib 2.4 specific defines Original commit message from CVS: real fix thise time : don't use glib 2.4 specific defines --- ChangeLog | 4 ++-- gst-libs/gst/mixer/mixertrack.c | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index fc9fca0e..3d38b5be 100644 --- 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 diff --git a/gst-libs/gst/mixer/mixertrack.c b/gst-libs/gst/mixer/mixertrack.c index 2bada7ca..ea531d5f 100644 --- a/gst-libs/gst/mixer/mixertrack.c +++ b/gst-libs/gst/mixer/mixertrack.c @@ -23,8 +23,6 @@ #include "config.h" #endif -#include - #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", -- cgit v1.2.1