From 11cb7a31b422607c1e68aef34aa4d4b3f421079b Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Wed, 10 May 2006 10:29:54 +0000 Subject: Const-ify GEnumValue arrays. Original commit message from CVS: * ext/esd/esdmon.c: (gst_esdmon_depths_get_type), (gst_esdmon_channels_get_type): * ext/gconf/gstgconfaudiosink.c: (gst_gconf_profile_get_type): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_method_get_type): * ext/libcaca/gstcacasink.c: (gst_cacasink_dither_get_type): * ext/shout2/gstshout2.c: (gst_shout2send_protocol_get_type): * gst/alpha/gstalpha.c: (gst_alpha_method_get_type): * gst/rtp/gstrtpilbcdepay.c: (gst_ilbc_mode_get_type): * gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type): * gst/videobox/gstvideobox.c: (gst_video_box_fill_get_type): * gst/videofilter/gstvideoflip.c: (gst_video_flip_method_get_type): * gst/videomixer/videomixer.c: (gst_video_mixer_background_get_type): Const-ify GEnumValue arrays. --- ext/esd/esdmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/esd') diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index df1b59ec..6a97e23c 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -91,7 +91,7 @@ static GType gst_esdmon_depths_get_type (void) { static GType esdmon_depths_type = 0; - static GEnumValue esdmon_depths[] = { + static const GEnumValue esdmon_depths[] = { {8, "8 Bits", "8"}, {16, "16 Bits", "16"}, {0, NULL, NULL}, @@ -109,7 +109,7 @@ static GType gst_esdmon_channels_get_type (void) { static GType esdmon_channels_type = 0; - static GEnumValue esdmon_channels[] = { + static const GEnumValue esdmon_channels[] = { {1, "Mono", "mono"}, {2, "Stereo", "stereo"}, {0, NULL, NULL}, -- cgit