diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-01-10 00:59:16 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-01-10 21:45:30 -0500 |
commit | 1c486fb8b83e9a4590e4768d604efd82b68e3e79 (patch) | |
tree | ce006c249296e82eeeaa6cf53cc8d8665ea81f9c /gtk/gtkapplication.h | |
parent | c1f44c0f835fe2a1c0387c9201df9dc8d2eac44d (diff) | |
download | gtk+-1c486fb8b83e9a4590e4768d604efd82b68e3e79.tar.gz |
Simplify logout notification api
We don't expose ::quit-requested as API anymore. Instead, we expect
users to register inhibitors when needed. Without quit-requested,
there is no need for ::quit-cancelled and gtk_application_quit_response
anymore.
We still emit ::quit when the application is about to quit.
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r-- | gtk/gtkapplication.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h index 4e38441631..2d41c9fff4 100644 --- a/gtk/gtkapplication.h +++ b/gtk/gtkapplication.h @@ -59,8 +59,6 @@ struct _GtkApplicationClass void (*window_removed) (GtkApplication *application, GtkWindow *window); - void (*quit_requested) (GtkApplication *application); - void (*quit_cancelled) (GtkApplication *application); void (*quit) (GtkApplication *application); /*< private >*/ @@ -95,10 +93,6 @@ void gtk_application_remove_accelerator (GtkApplication *application const gchar *action_name, GVariant *parameter); -void gtk_application_quit_response (GtkApplication *application, - gboolean will_quit, - const gchar *reason); - typedef enum { GTK_APPLICATION_INHIBIT_LOGOUT = (1 << 0), |