From 88ec007b9858132720cc602ac1a63396f66116bc Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Thu, 5 Jan 2012 22:22:06 -0500 Subject: Add new GtkActionable interface This is the interface for GtkWidgets that can be associated with an action on a GtkAppicationWindow or associated GtkApplication. It essentially features 'action-name' and 'action-target' properties with some associated convenience API. This interface is implemented by GtkButton and GtkToolButton. https://bugzilla.gnome.org/show_bug.cgi?id=667394 --- gtk/gtkapplicationprivate.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gtk/gtkapplicationprivate.h') diff --git a/gtk/gtkapplicationprivate.h b/gtk/gtkapplicationprivate.h index 9693f78d86..4ff3b2b27e 100644 --- a/gtk/gtkapplicationprivate.h +++ b/gtk/gtkapplicationprivate.h @@ -23,6 +23,7 @@ #ifndef __GTK_APPLICATION_PRIVATE_H__ #define __GTK_APPLICATION_PRIVATE_H__ +#include "gsimpleactionobserver.h" #include "gtkapplicationwindow.h" G_GNUC_INTERNAL @@ -33,4 +34,9 @@ gboolean gtk_application_window_publish (GtkAppl G_GNUC_INTERNAL void gtk_application_window_unpublish (GtkApplicationWindow *window); +G_GNUC_INTERNAL +GSimpleActionObserver * gtk_application_window_get_observer (GtkApplicationWindow *window, + const gchar *action_name, + GVariant *target); + #endif /* __GTK_APPLICATION_PRIVATE_H__ */ -- cgit v1.2.1