[gstreamermm] fix gtkmmproc warnings
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] fix gtkmmproc warnings
- Date: Tue, 25 Aug 2015 21:29:26 +0000 (UTC)
commit 0f2d7226927ceff36c7053fdc343cb7ffdcc9b8a
Author: Marcin Kolny <marcin kolny gmail com>
Date: Tue Aug 25 21:13:30 2015 +0000
fix gtkmmproc warnings
* gstreamer/src/discovererinfo.hg:
* gstreamer/src/element.hg:
* gstreamer/src/object.hg:
* gstreamer/src/pad.hg:
* gstreamer/src/plugin.hg:
* gstreamer/src/pluginfeature.hg:
* gstreamer/src/registry.hg:
* gstreamer/src/taglist.hg:
* gstreamer/src/task.hg:
* gstreamer/src/urihandler.hg: remove entries which don't exist in
.defs files.
gstreamer/src/discovererinfo.hg | 2 --
gstreamer/src/element.hg | 1 -
gstreamer/src/object.hg | 3 +--
gstreamer/src/pad.hg | 29 +----------------------------
gstreamer/src/plugin.hg | 4 ----
gstreamer/src/pluginfeature.hg | 4 ----
gstreamer/src/registry.hg | 2 --
gstreamer/src/taglist.hg | 24 +++++++++---------------
gstreamer/src/task.hg | 1 -
gstreamer/src/urihandler.hg | 3 ---
10 files changed, 11 insertions(+), 62 deletions(-)
---
diff --git a/gstreamer/src/discovererinfo.hg b/gstreamer/src/discovererinfo.hg
index 8d100d8..795fef1 100644
--- a/gstreamer/src/discovererinfo.hg
+++ b/gstreamer/src/discovererinfo.hg
@@ -63,7 +63,6 @@ class TagList;
class DiscovererInfo : public MiniObject
{
_CLASS_OPAQUE_REFCOUNTED(DiscovererInfo, GstDiscovererInfo, gst_discoverer_info_new, g_object_ref,
gst_discoverer_info_unref)
- _IGNORE(gst_discoverer_info_ref, gst_discoverer_info_unref)
_STRUCT_NOT_HIDDEN
public:
@@ -122,7 +121,6 @@ public:
class DiscovererStreamInfo : public MiniObject
{
_CLASS_OPAQUE_REFCOUNTED(DiscovererStreamInfo, GstDiscovererStreamInfo, NONE,
gst_discoverer_stream_info_ref, gst_discoverer_stream_info_unref)
- _IGNORE(gst_discoverer_stream_info_ref, gst_discoverer_stream_info_unref)
_STRUCT_NOT_HIDDEN
public:
diff --git a/gstreamer/src/element.hg b/gstreamer/src/element.hg
index 02de4fc..2d2c564 100644
--- a/gstreamer/src/element.hg
+++ b/gstreamer/src/element.hg
@@ -166,7 +166,6 @@ public:
_WRAP_METHOD(Glib::RefPtr<Gst::Pad> get_static_pad(const Glib::ustring& name), gst_element_get_static_pad)
_WRAP_METHOD(Glib::RefPtr<const Gst::Pad> get_static_pad(const Glib::ustring& name) const,
gst_element_get_static_pad, constversion)
- _IGNORE(gst_element_get_pad)
_WRAP_METHOD(void no_more_pads(), gst_element_no_more_pads)
diff --git a/gstreamer/src/object.hg b/gstreamer/src/object.hg
index ea375dd..c9bca31 100644
--- a/gstreamer/src/object.hg
+++ b/gstreamer/src/object.hg
@@ -55,8 +55,7 @@ _WRAP_ENUM(ObjectFlags, GstObjectFlags)
class Object : public Glib::Object
{
_CLASS_GOBJECT(Object, GstObject, GST_OBJECT, Glib::Object, GObject)
- _IGNORE(gst_object_ref, gst_object_unref, gst_object_sink,
- gst_class_signal_connect, gst_class_signal_emit_by_name)
+ _IGNORE(gst_object_ref, gst_object_unref)
_CUSTOM_CTOR_CAST
public:
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index a2eb5d4..d4803df 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -310,34 +310,7 @@ public:
void set_getrange_function(const SlotGetrange& slot);
//C API specific pad callback setting functions are ignored.
- _IGNORE(
- gst_pad_set_acceptcaps_function,
- gst_pad_set_activate_function,
- gst_pad_set_activatepull_function,
- gst_pad_set_activatepush_function,
- gst_pad_set_bufferalloc_function,
- gst_pad_set_chain_function,
- gst_pad_set_chain_list_function,
- gst_pad_set_checkgetrange_function,
- gst_pad_set_event_function,
- gst_pad_set_fixatecaps_function,
- gst_pad_set_getcaps_function,
- gst_pad_set_getrange_function,
- gst_pad_set_internal_link_function,
- gst_pad_set_iterate_internal_links_function,
- gst_pad_set_link_function,
- gst_pad_set_query_function,
- gst_pad_set_query_type_function,
- gst_pad_set_setcaps_function,
- gst_pad_set_unlink_function,
- )
-
- //C API helper function gst_pad_get_fixed_caps_func ignored.
- _IGNORE(gst_pad_get_fixed_caps_func)
-
- //The "have-data" signal never really emits so ignore it. Adding data, event
- //and buffer probes do emit.
- _IGNORE_SIGNAL(have_data)
+ _IGNORE()
#m4 _CONVERSION(`GstPad*',`const Glib::RefPtr<Gst::Pad>&',`Glib::wrap($3, true)')
diff --git a/gstreamer/src/plugin.hg b/gstreamer/src/plugin.hg
index eb62647..4187628 100644
--- a/gstreamer/src/plugin.hg
+++ b/gstreamer/src/plugin.hg
@@ -98,10 +98,6 @@ public:
_WRAP_METHOD(void set_cache_data(Gst::Structure& cache_data), gst_plugin_set_cache_data)
- //gst_plugin_name_filter is a C API convenience function which tells if a
- //plugin has a given name so ignore it.
- _IGNORE(gst_plugin_name_filter)
-
/** @throw Gst::PluginError.
*/
_WRAP_METHOD(static Glib::RefPtr<Gst::Plugin> load_file(const Glib::ustring& filename),
gst_plugin_load_file, errthrow)
diff --git a/gstreamer/src/pluginfeature.hg b/gstreamer/src/pluginfeature.hg
index 3da6b74..b330c79 100644
--- a/gstreamer/src/pluginfeature.hg
+++ b/gstreamer/src/pluginfeature.hg
@@ -53,10 +53,6 @@ public:
_IGNORE(gst_plugin_feature_list_free)
_WRAP_METHOD(bool check_version(guint min_major, guint min_minor, guint min_micro) const,
gst_plugin_feature_check_version)
-
- //gst_plugin_feature_type_name_filter is a C API convenience function which
- //tells if a plugin feature has a name and a type so ignore it.
- _IGNORE(gst_plugin_feature_type_name_filter)
};
} // namespace Gst
diff --git a/gstreamer/src/registry.hg b/gstreamer/src/registry.hg
index 7cc8362..37a4599 100644
--- a/gstreamer/src/registry.hg
+++ b/gstreamer/src/registry.hg
@@ -173,8 +173,6 @@ public:
_WRAP_METHOD(Glib::RefPtr<Gst::Plugin> lookup(const Glib::ustring& filename), gst_registry_lookup)
_WRAP_METHOD(Glib::RefPtr<const Gst::Plugin> lookup(const Glib::ustring& filename) const,
gst_registry_lookup, constversion)
_WRAP_METHOD(void remove_feature(const Glib::RefPtr<Gst::PluginFeature>& feature),
gst_registry_remove_feature)
- _WRAP_METHOD(static bool check_feature_version(const Glib::ustring& feature_name, guint min_major, guint
min_minor, guint min_micro), gst_default_registry_check_feature_version)
-
_WRAP_METHOD(void add_feature(Glib::RefPtr<Gst::PluginFeature>&& feature), gst_registry_add_feature)
/// A add_feature() convenience overload. Allows to re-use @feature parameter after function call.
diff --git a/gstreamer/src/taglist.hg b/gstreamer/src/taglist.hg
index ef45aac..9bbc188 100644
--- a/gstreamer/src/taglist.hg
+++ b/gstreamer/src/taglist.hg
@@ -330,7 +330,7 @@ class TagList
{
_CUSTOM_STRUCT_PROTOTYPE
_CLASS_BOXEDTYPE_EXTRA(TagList, GstTagList, gst_tag_list_new_empty, gst_tag_list_copy, gst_tag_list_free)
- _IGNORE(gst_tag_list_copy, gst_tag_list_free)
+ _IGNORE(gst_tag_list_copy)
public:
/** Use this to discover if the TagList is a valid object.
@@ -519,19 +519,16 @@ dnl See .ccg implementation for how this conversion works.
template<class DataType>
bool get(const Glib::ustring& tag, DataType& value) const;
- _IGNORE(gst_tag_list_get_char,
- gst_tag_list_get_uchar,
- gst_tag_list_get_boolean,
+ _IGNORE(gst_tag_list_get_boolean,
gst_tag_list_get_int,
gst_tag_list_get_uint,
- gst_tag_list_get_long, gst_tag_list_get_int64,
- gst_tag_list_get_ulong, gst_tag_list_get_uint64,
+ gst_tag_list_get_int64,
+ gst_tag_list_get_uint64,
gst_tag_list_get_float,
gst_tag_list_get_double,
gst_tag_list_get_string,
gst_tag_list_get_pointer,
- gst_tag_list_get_date,
- gst_tag_list_get_buffer)
+ gst_tag_list_get_date)
/** Gets the value that is at the given index for the given tag.
* @param tag The tag to read out.
@@ -553,19 +550,16 @@ dnl See .ccg implementation for how this conversion works.
template<class DataType>
bool get(const Glib::ustring& tag, guint index, DataType& value) const;
- _IGNORE(gst_tag_list_get_char_index,
- gst_tag_list_get_uchar_index,
- gst_tag_list_get_boolean_index,
+ _IGNORE(gst_tag_list_get_boolean_index,
gst_tag_list_get_int_index,
gst_tag_list_get_uint_index,
- gst_tag_list_get_long_index, gst_tag_list_get_int64_index,
- gst_tag_list_get_ulong_index, gst_tag_list_get_uint64_index,
+ gst_tag_list_get_int64_index,
+ gst_tag_list_get_uint64_index,
gst_tag_list_get_float_index,
gst_tag_list_get_double_index,
gst_tag_list_get_string_index,
gst_tag_list_get_date_index,
- gst_tag_list_get_pointer_index,
- gst_tag_list_get_buffer_index)
+ gst_tag_list_get_pointer_index)
//Variable argument functions are ignored.
_IGNORE(gst_tag_list_add, gst_tag_list_add_values)
diff --git a/gstreamer/src/task.hg b/gstreamer/src/task.hg
index 5fda29c..ea2ead2 100644
--- a/gstreamer/src/task.hg
+++ b/gstreamer/src/task.hg
@@ -130,7 +130,6 @@ public:
* Since 0.10.24.
*/
void set_thread_slots(const SlotEnter& enter_slot, const SlotLeave& leave_slot);
- _IGNORE(gst_task_set_thread_callbacks)
_WRAP_METHOD(TaskState get_state() const, gst_task_get_state)
_WRAP_METHOD(void set_state(Gst::TaskState state), gst_task_set_state)
diff --git a/gstreamer/src/urihandler.hg b/gstreamer/src/urihandler.hg
index 3e11bf1..0530600 100644
--- a/gstreamer/src/urihandler.hg
+++ b/gstreamer/src/urihandler.hg
@@ -65,9 +65,6 @@ public:
_WRAP_METHOD(Glib::ustring get_uri() const, gst_uri_handler_get_uri)
_WRAP_METHOD(bool set_uri(const Glib::ustring& uri), gst_uri_handler_set_uri, errthrow)
- _WRAP_METHOD(void new_uri(const Glib::ustring& uri), gst_uri_handler_new_uri)
-
- _WRAP_SIGNAL(void new_uri(const Glib::ustring& uri), "new-uri")
#m4 _CONVERSION(`Glib::ustring', `const gchar*', `($3).c_str()')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]