mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-06 23:18:40 -04:00
session-helper: Drop the unused RequestMonitor api
Nothing is using this now that we have RequestSession. No need to carry this round. Closes: #2533 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
6abe5bef96
commit
64e6764137
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user