mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +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;
|
||||
gint i;
|
||||
#ifdef USE_GLIB2
|
||||
GSignalQuery query;
|
||||
GSignalQuery *query;
|
||||
#else
|
||||
GtkSignalQuery *query;
|
||||
#endif
|
||||
|
@ -356,7 +356,8 @@ print_element_info (GstElementFactory *factory)
|
|||
gint j;
|
||||
|
||||
#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;
|
||||
return_type = query->return_type;
|
||||
param_types = query->param_types;
|
||||
|
|
Loading…
Reference in a new issue