diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-12-17 00:17:08 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-12-17 12:54:02 -0500 |
commit | eefd08996f7657488cb8afed23667030d6bd45f7 (patch) | |
tree | 4ac93a6c87c2ef932fb6328dd69f8c7a6bed637e /gio/gapplicationimpl.h | |
parent | ee9f104432ee1ed0bf1e7461cf3264d0f0f1d297 (diff) | |
download | glib-eefd08996f7657488cb8afed23667030d6bd45f7.tar.gz |
introduce GRemoteActionGroup
This interfaceifies the extra functions that were on GDBusActionGroup
for dealing with platform data.
The two main benefits of doing this:
- no longer have to do a silly song and dance in GApplication to avoid
calling GDBusActionGroup API from non-dbus-aware code
- the interface can be reused by the action group exporter to avoid
ugly and unbindable hook callbacks
https://bugzilla.gnome.org/show_bug.cgi?id=665737
Diffstat (limited to 'gio/gapplicationimpl.h')
-rw-r--r-- | gio/gapplicationimpl.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/gio/gapplicationimpl.h b/gio/gapplicationimpl.h index c00bbf78c..040670042 100644 --- a/gio/gapplicationimpl.h +++ b/gio/gapplicationimpl.h @@ -18,7 +18,7 @@ G_GNUC_INTERNAL GApplicationImpl * g_application_impl_register (GApplication *application, const gchar *appid, GApplicationFlags flags, - GActionGroup **remote_actions, + GRemoteActionGroup**remote_actions, GCancellable *cancellable, GError **error); @@ -34,18 +34,6 @@ void g_application_impl_open (GApplic GVariant *platform_data); G_GNUC_INTERNAL -void g_application_impl_activate_action (GApplicationImpl *impl, - const gchar *action_name, - GVariant *parameter, - GVariant *platform_data); - -G_GNUC_INTERNAL -void g_application_impl_change_action_state (GApplicationImpl *impl, - const gchar *action_name, - GVariant *value, - GVariant *platform_data); - -G_GNUC_INTERNAL int g_application_impl_command_line (GApplicationImpl *impl, gchar **arguments, GVariant *platform_data); |