[gtk+/wip/tingping/remove-dialog-run: 1/6] gtkdialog: Deprecate gtk_dialog_run()
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/tingping/remove-dialog-run: 1/6] gtkdialog: Deprecate gtk_dialog_run()
- Date: Fri, 2 Jun 2017 23:10:39 +0000 (UTC)
commit a947cb986c7156f5fd568ece6fb71f7fb25b03da
Author: Patrick Griffis <tingping tingping se>
Date: Fri Jun 2 16:46:58 2017 -0400
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.
gtk/gtkdialog.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h
index 505db6a..b527aa9 100644
--- a/gtk/gtkdialog.h
+++ b/gtk/gtkdialog.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]