summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-06-08 18:06:03 -0400
committerColin Walters <walters@verbum.org>2010-06-14 18:30:51 -0400
commit6c71da01cc6f91b2c38c2ae29f2aee26458ddbe7 (patch)
tree5be36987be39945ce119d4a58a0023a57b26ed3a /gtk/gtkapplication.h
parentcf14d4f368278fcb74780b18c00ef57902a25291 (diff)
downloadgtk+-6c71da01cc6f91b2c38c2ae29f2aee26458ddbe7.tar.gz
[GtkApplication] Update for GApplication API changes
We now implement "quit" and "action" signals here. https://bugzilla.gnome.org/show_bug.cgi?id=621003
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r--gtk/gtkapplication.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h
index 6581bcd923..7782f0a112 100644
--- a/gtk/gtkapplication.h
+++ b/gtk/gtkapplication.h
@@ -66,8 +66,12 @@ struct _GtkApplicationClass
GApplicationClass parent_class;
/*< vfuncs >*/
- void (* activated) (GApplication *application,
- GVariant *args);
+ void (* activated) (GtkApplication *application,
+ GVariant *args);
+ void (* action) (GtkApplication *application,
+ const gchar *action_name);
+ gboolean (* quit) (GtkApplication *application);
+
/* Padding for future expansion */
void (*_gtk_reserved1) (void);