Flag string arg of GSSDPClient signal as static
authorSven Neumann <s.neumann@raumfeld.com>
Tue, 6 Jul 2010 13:34:06 +0000 (15:34 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Tue, 6 Jul 2010 16:15:03 +0000 (19:15 +0300)
Set the G_SIGNAL_TYPE_STATIC_SCOPE flag on the "from_ip" string
argument of the GSSDPClient::message-received signal.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
libgssdp/gssdp-client.c

index b5de2c3..713b1c8 100644 (file)
@@ -428,7 +428,7 @@ gssdp_client_class_init (GSSDPClientClass *klass)
                               gssdp_marshal_VOID__STRING_UINT_INT_POINTER,
                               G_TYPE_NONE,
                               4,
-                              G_TYPE_STRING,
+                              G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
                               G_TYPE_UINT,
                               G_TYPE_INT,
                               G_TYPE_POINTER);