summaryrefslogtreecommitdiff
path: root/gst/gstobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstobject.c')
-rw-r--r--gst/gstobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstobject.c b/gst/gstobject.c
index 8ee95d5a2..404c3849e 100644
--- a/gst/gstobject.c
+++ b/gst/gstobject.c
@@ -1142,7 +1142,7 @@ gst_signal_object_get_type (void)
{
static GType signal_object_type = 0;
- if (!signal_object_type) {
+ if (G_UNLIKELY (signal_object_type == 0)) {
static const GTypeInfo signal_object_info = {
sizeof (GstSignalObjectClass),
NULL,