Commit 6d868ae4 authored by Wim Taymans's avatar Wim Taymans
Browse files

Compile fixes for gobject.

Original commit message from CVS:
Compile fixes for gobject.
parent 4158f4dc
......@@ -158,7 +158,7 @@ g_signal_emit_by_name(object,name,data,self) \
gtk_signal_emit_by_name ((GtkObject *)object,name,data,self)
#define \
g_signal_handler_has_pending(object,name,data,may_block) \
g_signal_has_handler_pending(object,name,data,may_block) \
gtk_signal_handler_pending ((GtkObject *)object,name,may_block)
#define g_signal_lookup gtk_signal_lookup
......
......@@ -454,7 +454,7 @@ gst_queue_change_state (GstElement *element)
// if element change_state() emits other signals, they need to be blocked
// as well.
if (state_change_id &&
g_signal_handler_has_pending(G_OBJECT(element), state_change_id, 0, FALSE))
g_signal_has_handler_pending(G_OBJECT(element), state_change_id, 0, FALSE))
valid_handler = TRUE;
if (valid_handler)
g_signal_handler_block(G_OBJECT(element), state_change_id);
......
......@@ -454,7 +454,7 @@ gst_queue_change_state (GstElement *element)
// if element change_state() emits other signals, they need to be blocked
// as well.
if (state_change_id &&
g_signal_handler_has_pending(G_OBJECT(element), state_change_id, 0, FALSE))
g_signal_has_handler_pending(G_OBJECT(element), state_change_id, 0, FALSE))
valid_handler = TRUE;
if (valid_handler)
g_signal_handler_block(G_OBJECT(element), state_change_id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment