gtkdialog: Deprecate gtk_dialog_run()

A function that blocks the mainloop and creates a recursive
one goes against normal GObject signal usage, causes unexpected
issues, and is a pattern that should be avoided.
This commit is contained in:
Patrick Griffis
2017-06-02 16:46:58 -04:00
parent a23ad61a25
commit a947cb986c

View File

@@ -185,7 +185,7 @@ void gtk_dialog_response (GtkDialog *dialog,
gint response_id);
/* Returns response_id */
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED
gint gtk_dialog_run (GtkDialog *dialog);
GDK_AVAILABLE_IN_ALL