summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-02-20 21:47:29 +0100
committerRyan Lortie <desrt@desrt.ca>2012-02-21 01:23:01 +0100
commit659c7130f00e7de643561253325272620e12c40d (patch)
tree518df98048dfb4124b7d2979a198a9e0e9f643f4 /gtk/gtkapplication.h
parent914053a2a3d21b87c81527ed25fc36776d976488 (diff)
downloadgtk+-659c7130f00e7de643561253325272620e12c40d.tar.gz
GtkApplication: remove end session API
This seems a bit "too powerful" and unlikely to be used by most applications. Remove it from now, until someone comes up with a strong desire for it. https://bugzilla.gnome.org/show_bug.cgi?id=670485
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r--gtk/gtkapplication.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h
index b9a9ad7898..092d90c130 100644
--- a/gtk/gtkapplication.h
+++ b/gtk/gtkapplication.h
@@ -110,16 +110,6 @@ void gtk_application_uninhibit (GtkApplication
gboolean gtk_application_is_inhibited (GtkApplication *application,
GtkApplicationInhibitFlags flags);
-typedef enum {
- GTK_APPLICATION_LOGOUT,
- GTK_APPLICATION_REBOOT,
- GTK_APPLICATION_SHUTDOWN
-} GtkApplicationEndSessionStyle;
-
-gboolean gtk_application_end_session (GtkApplication *application,
- GtkApplicationEndSessionStyle style,
- gboolean request_confirmation);
-
G_END_DECLS
#endif /* __GTK_APPLICATION_H__ */