mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
Added shims for signal introspections and g_type_parent
Original commit message from CVS: Added shims for signal introspections and g_type_parent
This commit is contained in:
parent
4078620947
commit
4456b616ae
2 changed files with 14 additions and 1 deletions
|
@ -298,3 +298,15 @@ g2g_signal_newc (const gchar *name,
|
|||
|
||||
return signal_id;
|
||||
}
|
||||
|
||||
gint* g_signal_list_ids (GType type, guint *n_ids)
|
||||
{
|
||||
GtkObjectClass *class;
|
||||
|
||||
class = gtk_type_class (type);
|
||||
|
||||
*n_ids = class->nsignals;
|
||||
|
||||
return class->signals;
|
||||
}
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@ G_STMT_START{ \
|
|||
#define g_type_class_unref(c)
|
||||
#define g_type_name(t) gtk_type_name(t)
|
||||
#define g_type_from_name(t) gtk_type_from_name(t)
|
||||
#define g_type_parent(t) gtk_type_parent(t)
|
||||
#define GEnumValue GtkEnumValue
|
||||
#define g_enum_register_static gtk_type_register_enum
|
||||
|
||||
|
@ -170,7 +171,7 @@ gtk_signal_handler_pending ((GtkObject *)object,name,may_block)
|
|||
#define g_signal_handler_block gtk_signal_handler_block
|
||||
#define g_signal_handler_unblock gtk_signal_handler_unblock
|
||||
|
||||
|
||||
gint* g_signal_list_ids (GType type, guint *n_ids);
|
||||
|
||||
|
||||
// arguments/parameters
|
||||
|
|
Loading…
Reference in a new issue