mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
compile fix for glib2
Original commit message from CVS: compile fix for glib2
This commit is contained in:
parent
2a4b6618a7
commit
34fd63e2bf
1 changed files with 3 additions and 2 deletions
|
@ -340,7 +340,7 @@ print_element_info (GstElementFactory *factory)
|
||||||
guint nsignals;
|
guint nsignals;
|
||||||
gint i;
|
gint i;
|
||||||
#ifdef USE_GLIB2
|
#ifdef USE_GLIB2
|
||||||
GSignalQuery query;
|
GSignalQuery *query;
|
||||||
#else
|
#else
|
||||||
GtkSignalQuery *query;
|
GtkSignalQuery *query;
|
||||||
#endif
|
#endif
|
||||||
|
@ -356,7 +356,8 @@ print_element_info (GstElementFactory *factory)
|
||||||
gint j;
|
gint j;
|
||||||
|
|
||||||
#ifdef USE_GLIB2
|
#ifdef USE_GLIB2
|
||||||
g_signal_query (signals[i], &query);
|
query = g_new0(GSignalQuery,1);
|
||||||
|
g_signal_query (signals[i], query);
|
||||||
n_params = query->n_params;
|
n_params = query->n_params;
|
||||||
return_type = query->return_type;
|
return_type = query->return_type;
|
||||||
param_types = query->param_types;
|
param_types = query->param_types;
|
||||||
|
|
Loading…
Reference in a new issue