Skip to content

Commit

Permalink
doc: Remove reference to general signal handling
Browse files Browse the repository at this point in the history
  • Loading branch information
phako committed May 10, 2014
1 parent e59250a commit fde1264
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions doc/server-tutorial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,10 @@ service = gupnp_device_info_get_service
value of the variable.
</para>
<para>
There are two approaches that clients can take to handle these signals.
They can either connect a single handler to #GUPnPService::action-invoked
or #GUPnPService::query-variable and examine the arguments to decide what
action to take. Alternatively, handlers can be targetted at specific
actions or variables by using the <firstterm>signal detail</firstterm>
when connecting. For example, this causes
<function>on_get_status_action</function> to be called when the
<function>GetStatus</function> action is invoked:
Handlers should be targetted at specific actions or variables by using
the <firstterm>signal detail</firstterm> when connecting. For example,
this causes <function>on_get_status_action</function> to be called when
the <function>GetStatus</function> action is invoked:
</para>
<programlisting>static void on_get_status_action (GUPnPService *service, GUPnPServiceAction *action, gpointer user_data);
&hellip;
Expand Down

0 comments on commit fde1264

Please sign in to comment.