From 3ab5be1cff55913c8971cbdc353c108c5d08af11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 24 Apr 2012 18:16:27 +0200 Subject: [PATCH] video: Remove custom marshallers --- gst-libs/gst/video/Makefile.am | 8 +++----- gst-libs/gst/video/colorbalance.c | 4 +--- gst-libs/gst/video/colorbalancechannel.c | 3 +-- gst-libs/gst/video/video-marshal.list | 1 - gst-libs/gst/video/videoorientation.c | 1 - 5 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 gst-libs/gst/video/video-marshal.list diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am index 4cc5bf2b0a..f5af25063c 100644 --- a/gst-libs/gst/video/Makefile.am +++ b/gst-libs/gst/video/Makefile.am @@ -1,19 +1,17 @@ -# variables used for enum/marshal generation +# variables used for enum generation glib_enum_headers = video.h colorbalance.h navigation.h glib_enum_define = GST_VIDEO glib_gen_prefix = gst_video glib_gen_basename = video -built_sources = video-enumtypes.c video-marshal.c -built_headers = video-enumtypes.h video-marshal.h +built_sources = video-enumtypes.c +built_headers = video-enumtypes.h BUILT_SOURCES = $(built_sources) $(built_headers) lib_LTLIBRARIES = libgstvideo-@GST_API_VERSION@.la CLEANFILES = $(BUILT_SOURCES) -EXTRA_DIST = video-marshal.list - libgstvideo_@GST_API_VERSION@_la_SOURCES = \ colorbalance.c \ colorbalancechannel.c \ diff --git a/gst-libs/gst/video/colorbalance.c b/gst-libs/gst/video/colorbalance.c index 57a4de4a72..53aeca344c 100644 --- a/gst-libs/gst/video/colorbalance.c +++ b/gst-libs/gst/video/colorbalance.c @@ -25,7 +25,6 @@ #endif #include "colorbalance.h" -#include "video-marshal.h" /** * SECTION:gstcolorbalance @@ -99,8 +98,7 @@ gst_color_balance_class_init (GstColorBalanceInterface * iface) g_signal_new ("value-changed", GST_TYPE_COLOR_BALANCE, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstColorBalanceInterface, value_changed), - NULL, NULL, - gst_video_marshal_VOID__OBJECT_INT, + NULL, NULL, NULL, G_TYPE_NONE, 2, GST_TYPE_COLOR_BALANCE_CHANNEL, G_TYPE_INT); initialized = TRUE; diff --git a/gst-libs/gst/video/colorbalancechannel.c b/gst-libs/gst/video/colorbalancechannel.c index ae22fba845..bcd6b78067 100644 --- a/gst-libs/gst/video/colorbalancechannel.c +++ b/gst-libs/gst/video/colorbalancechannel.c @@ -96,8 +96,7 @@ gst_color_balance_channel_class_init (GstColorBalanceChannelClass * klass) g_signal_new ("value-changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstColorBalanceChannelClass, - value_changed), - NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); + value_changed), NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_INT); object_klass->dispose = gst_color_balance_channel_dispose; } diff --git a/gst-libs/gst/video/video-marshal.list b/gst-libs/gst/video/video-marshal.list deleted file mode 100644 index b9d0c499aa..0000000000 --- a/gst-libs/gst/video/video-marshal.list +++ /dev/null @@ -1 +0,0 @@ -VOID:OBJECT,INT diff --git a/gst-libs/gst/video/videoorientation.c b/gst-libs/gst/video/videoorientation.c index 0f8ede4c2a..bb9628649b 100644 --- a/gst-libs/gst/video/videoorientation.c +++ b/gst-libs/gst/video/videoorientation.c @@ -24,7 +24,6 @@ #endif #include "videoorientation.h" -#include "video-marshal.h" #include