diff options
author | David Schleef <ds@schleef.org> | 2010-12-15 12:45:38 -0800 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-12-15 12:47:02 -0800 |
commit | 7ae4aaaee6831b9c8bad3c25e99d735435a2a1e0 (patch) | |
tree | f14fa42fe2350df361e280e1ec63a69eb04f8305 /tools/gobject.c | |
parent | c8d9cc5770667828bf4fd56db810851b4636bf29 (diff) | |
download | gstreamer-plugins-bad-7ae4aaaee6831b9c8bad3c25e99d735435a2a1e0.tar.gz |
element-maker: Clean up directory
Diffstat (limited to 'tools/gobject.c')
-rw-r--r-- | tools/gobject.c | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/tools/gobject.c b/tools/gobject.c deleted file mode 100644 index dc5392d86..000000000 --- a/tools/gobject.c +++ /dev/null @@ -1,80 +0,0 @@ - -% includes -% prototypes - -static void gst_replace_set_property (GObject * object, - guint property_id, const GValue * value, GParamSpec * pspec); -static void gst_replace_get_property (GObject * object, - guint property_id, GValue * value, GParamSpec * pspec); -static void gst_replace_dispose (GObject * object); -static void gst_replace_finalize (GObject * object); - -% declare-class - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); -% set-methods - gobject_class->set_property = gst_replace_set_property; - gobject_class->get_property = gst_replace_get_property; - gobject_class->dispose = gst_replace_dispose; - gobject_class->finalize = gst_replace_finalize; -% methods - -void -gst_replace_set_property (GObject * object, guint property_id, - const GValue * value, GParamSpec * pspec) -{ - GstReplace *replace; - - g_return_if_fail (GST_IS_REPLACE (object)); - replace = GST_REPLACE (object); - - switch (property_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - break; - } -} - -void -gst_replace_get_property (GObject * object, guint property_id, - GValue * value, GParamSpec * pspec) -{ - GstReplace *replace; - - g_return_if_fail (GST_IS_REPLACE (object)); - replace = GST_REPLACE (object); - - switch (property_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - break; - } -} - -void -gst_replace_dispose (GObject * object) -{ - GstReplace *replace; - - g_return_if_fail (GST_IS_REPLACE (object)); - replace = GST_REPLACE (object); - - /* clean up as possible. may be called multiple times */ - - G_OBJECT_CLASS (parent_class)->dispose (object); -} - -void -gst_replace_finalize (GObject * object) -{ - GstReplace *replace; - - g_return_if_fail (GST_IS_REPLACE (object)); - replace = GST_REPLACE (object); - - /* clean up object here */ - - G_OBJECT_CLASS (parent_class)->finalize (object); -} - -% end - |