summaryrefslogtreecommitdiff
path: root/libgupnp/gupnp-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgupnp/gupnp-service.c')
-rw-r--r--libgupnp/gupnp-service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index f86f6af..c740f2d 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -484,7 +484,8 @@ control_server_handler (SoupServer *server,
GQuark action_name_quark;
action_name_quark = g_quark_from_string (action_name);
- if (g_signal_has_handler_pending (service,
+ if (GUPNP_SERVICE_GET_CLASS (service)->action_invoked != NULL ||
+ g_signal_has_handler_pending (service,
signals[ACTION_INVOKED],
action_name_quark,
FALSE)) {