summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-01-10 00:59:16 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-01-10 21:45:30 -0500
commit1c486fb8b83e9a4590e4768d604efd82b68e3e79 (patch)
treece006c249296e82eeeaa6cf53cc8d8665ea81f9c /gtk/gtkapplication.h
parentc1f44c0f835fe2a1c0387c9201df9dc8d2eac44d (diff)
downloadgtk+-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.h6
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),