mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Revert "GDBusActionGroup: add static platform registration"
This reverts commit fcc9902e98
.
This commit is contained in:
@@ -27,14 +27,10 @@
|
||||
#include "gdbusmethodinvocation.h"
|
||||
#include "gdbusintrospection.h"
|
||||
#include "gdbusconnection.h"
|
||||
#include "gdbusactiongroup.h"
|
||||
#include "gactiongroup.h"
|
||||
#include "gapplication.h"
|
||||
#include "gdbuserror.h"
|
||||
|
||||
extern GDBusActionGroupEmitHookFunc g_dbus_action_group_before_emit_hook;
|
||||
extern GDBusActionGroupEmitHookFunc g_dbus_action_group_after_emit_hook;
|
||||
|
||||
/**
|
||||
* SECTION:gactiongroupexporter
|
||||
* @title: GActionGroup exporter
|
||||
@@ -453,9 +449,6 @@ g_action_group_exporter_pre_emit (GActionGroupExporter *exporter,
|
||||
if (G_IS_APPLICATION (exporter->action_group))
|
||||
G_APPLICATION_GET_CLASS (exporter->action_group)
|
||||
->before_emit (G_APPLICATION (exporter->action_group), platform_data);
|
||||
|
||||
else if (g_dbus_action_group_before_emit_hook != NULL)
|
||||
(* g_dbus_action_group_before_emit_hook) (exporter->action_group, platform_data);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -465,9 +458,6 @@ g_action_group_exporter_post_emit (GActionGroupExporter *exporter,
|
||||
if (G_IS_APPLICATION (exporter->action_group))
|
||||
G_APPLICATION_GET_CLASS (exporter->action_group)
|
||||
->after_emit (G_APPLICATION (exporter->action_group), platform_data);
|
||||
|
||||
else if (g_dbus_action_group_after_emit_hook != NULL)
|
||||
(* g_dbus_action_group_after_emit_hook) (exporter->action_group, platform_data);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user