[gtk+/gtk-3-22] Dialog: Clarify that response ID 0 is not reserved
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Dialog: Clarify that response ID 0 is not reserved
- Date: Sun, 8 Oct 2017 22:37:29 +0000 (UTC)
commit cbe009fe904ba78d9215b0dda3d79bcf5a1b016e
Author: Daniel Boles <dboles src gnome org>
Date: Sun Oct 8 22:19:13 2017 +0100
Dialog: Clarify that response ID 0 is not reserved
I only got so far in math, but it looks to me like zero isn’t positive.
We don’t reserve it, so be clear about that.
gtk/gtkdialog.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h
index 17f0503..392d1ab 100644
--- a/gtk/gtkdialog.h
+++ b/gtk/gtkdialog.h
@@ -67,7 +67,7 @@ typedef enum
* @GTK_RESPONSE_HELP: Returned by Help buttons in GTK+ dialogs
*
* Predefined values for use as response ids in gtk_dialog_add_button().
- * All predefined values are negative, GTK+ leaves positive values for
+ * All predefined values are negative; GTK+ leaves values of 0 or greater for
* application-defined response ids.
*/
typedef enum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]