diff options
author | Michael Terry <michael.terry@canonical.com> | 2014-03-24 14:57:36 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-03-24 14:57:36 +0000 |
commit | 8cb0407fa3b9951dd0e11bed900d9d07f2f7850b (patch) | |
tree | 59ec5c36f6e05d4685b22b6afbc544e990ee0dff /service | |
parent | 4999139dbd3c18121c4cd4047acc184a752de903 (diff) | |
parent | d04b5637fa83495d6ab2640cba7c6efd996e10f9 (diff) | |
download | ayatana-greeter-session-broadcast-8cb0407fa3b9951dd0e11bed900d9d07f2f7850b.tar.gz ayatana-greeter-session-broadcast-8cb0407fa3b9951dd0e11bed900d9d07f2f7850b.tar.bz2 ayatana-greeter-session-broadcast-8cb0407fa3b9951dd0e11bed900d9d07f2f7850b.zip |
Switch to handling URLs instead of AppIDs.
Diffstat (limited to 'service')
-rw-r--r-- | service/service.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/service/service.c b/service/service.c index 7a83fb0..88f0ffa 100644 --- a/service/service.c +++ b/service/service.c @@ -20,17 +20,17 @@ #include "service-iface.h" static gboolean -on_handle_request_application_start (ServiceIfaceComCanonicalUnityGreeterBroadcast *object, - GDBusMethodInvocation *invocation, - const gchar *arg_username, - const gchar *arg_appId) +on_handle_request_url_start (ServiceIfaceComCanonicalUnityGreeterBroadcast *object, + GDBusMethodInvocation *invocation, + const gchar *arg_username, + const gchar *arg_url) { /* Simply pass the request on */ - service_iface_com_canonical_unity_greeter_broadcast_emit_start_application (object, - arg_username, - arg_appId); - service_iface_com_canonical_unity_greeter_broadcast_complete_request_application_start (object, - invocation); + service_iface_com_canonical_unity_greeter_broadcast_emit_start_url (object, + arg_username, + arg_url); + service_iface_com_canonical_unity_greeter_broadcast_complete_request_url_start (object, + invocation); return TRUE; } @@ -124,8 +124,8 @@ main (int argc, char * argv[]) /* Application Launching */ g_signal_connect (interface, - "handle-request-application-start", - G_CALLBACK (on_handle_request_application_start), + "handle-request-url-start", + G_CALLBACK (on_handle_request_url_start), NULL); g_signal_connect (interface, "handle-request-home-shown", |