diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-05-10 10:29:54 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-05-10 10:29:54 +0000 |
commit | 11cb7a31b422607c1e68aef34aa4d4b3f421079b (patch) | |
tree | e670d60d732c118c3c5c0bcf310234d8f242d73f /ext/gdk_pixbuf/pixbufscale.c | |
parent | e412f6d4339c789bcc89a46bfef51d46c9f39293 (diff) |
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.
Diffstat (limited to 'ext/gdk_pixbuf/pixbufscale.c')
-rw-r--r-- | ext/gdk_pixbuf/pixbufscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c index 3e011b8f..df5ba53a 100644 --- a/ext/gdk_pixbuf/pixbufscale.c +++ b/ext/gdk_pixbuf/pixbufscale.c @@ -81,7 +81,7 @@ static GType gst_pixbufscale_method_get_type (void) { static GType pixbufscale_method_type = 0; - static GEnumValue pixbufscale_methods[] = { + static const GEnumValue pixbufscale_methods[] = { {GST_PIXBUFSCALE_NEAREST, "0", "Nearest Neighbour"}, {GST_PIXBUFSCALE_TILES, "1", "Tiles"}, {GST_PIXBUFSCALE_BILINEAR, "2", "Bilinear"}, |