Skip to content

Commit

Permalink
session-helper: Drop the unused RequestMonitor api
Browse files Browse the repository at this point in the history
Nothing is using this now that we have RequestSession.
No need to carry this round.

Closes: #2533
Approved by: alexlarsson
  • Loading branch information
Matthias Clasen authored and rh-atomic-bot committed Jan 11, 2019
1 parent 6abe5be commit 64e6764
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions data/org.freedesktop.Flatpak.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
<interface name='org.freedesktop.Flatpak.SessionHelper'>
<property name="version" type="u" access="read"/>

<method name="RequestMonitor">
<arg type='ay' name='path' direction='out'/>
</method>

<method name="RequestSession">
<arg type='a{sv}' name='data' direction='out'/>
</method>
Expand Down
12 changes: 0 additions & 12 deletions session-helper/flatpak-session-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,6 @@ pid_data_free (PidData *data)
g_free (data);
}

static gboolean
handle_request_monitor (FlatpakSessionHelper *object,
GDBusMethodInvocation *invocation,
gpointer user_data)
{
flatpak_session_helper_complete_request_monitor (object, invocation,
monitor_dir);

return TRUE;
}

static gboolean
handle_request_session (FlatpakSessionHelper *object,
GDBusMethodInvocation *invocation,
Expand Down Expand Up @@ -472,7 +461,6 @@ on_bus_acquired (GDBusConnection *connection,

flatpak_session_helper_set_version (FLATPAK_SESSION_HELPER (helper), 1);

g_signal_connect (helper, "handle-request-monitor", G_CALLBACK (handle_request_monitor), NULL);
g_signal_connect (helper, "handle-request-session", G_CALLBACK (handle_request_session), NULL);

if (!g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (helper),
Expand Down

0 comments on commit 64e6764

Please sign in to comment.