summaryrefslogtreecommitdiff
path: root/ext/gdk_pixbuf
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-17 19:35:10 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-17 19:35:10 +0100
commit1055aaa9cb442ed8a816a50793adc8c2eca7e65b (patch)
tree832b3ec283692bc843e54f52b36ace2a438f843d /ext/gdk_pixbuf
parent18bc896605ec0c88ad0645aa413657fdde3ecf48 (diff)
Add -Wredundant-decls warning flag
Also fix compile issues
Diffstat (limited to 'ext/gdk_pixbuf')
-rw-r--r--ext/gdk_pixbuf/gstgdkpixbuf.c5
-rw-r--r--ext/gdk_pixbuf/pixbufscale.c5
2 files changed, 1 insertions, 9 deletions
diff --git a/ext/gdk_pixbuf/gstgdkpixbuf.c b/ext/gdk_pixbuf/gstgdkpixbuf.c
index 64ea99adb..c6833a56a 100644
--- a/ext/gdk_pixbuf/gstgdkpixbuf.c
+++ b/ext/gdk_pixbuf/gstgdkpixbuf.c
@@ -76,11 +76,6 @@ static GstStaticPadTemplate gst_gdk_pixbuf_src_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_RGBA)
);
-static void gst_gdk_pixbuf_base_init (gpointer g_class);
-static void gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass);
-static void gst_gdk_pixbuf_init (GstGdkPixbuf * filter,
- GstGdkPixbufClass * klass);
-
static void gst_gdk_pixbuf_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec);
static void gst_gdk_pixbuf_get_property (GObject * object, guint prop_id,
diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c
index bf0882c05..564cebf1e 100644
--- a/ext/gdk_pixbuf/pixbufscale.c
+++ b/ext/gdk_pixbuf/pixbufscale.c
@@ -96,10 +96,6 @@ gst_pixbufscale_method_get_type (void)
return pixbufscale_method_type;
}
-static void gst_pixbufscale_base_init (gpointer g_class);
-static void gst_pixbufscale_class_init (GstPixbufScaleClass * klass);
-static void gst_pixbufscale_init (GstPixbufScale * pixbufscale,
- GstPixbufScaleClass * kclass);
static void gst_pixbufscale_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec);
static void gst_pixbufscale_get_property (GObject * object, guint prop_id,
@@ -136,6 +132,7 @@ gst_pixbufscale_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_pixbufscale_sink_template));
}
+
static void
gst_pixbufscale_class_init (GstPixbufScaleClass * klass)
{