[gtkmm] Wrap a missing flag in GtkStateFlags
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Wrap a missing flag in GtkStateFlags
- Date: Sat, 26 Mar 2011 10:43:23 +0000 (UTC)
commit 45b41f10d029337b01031f73b3f720bd6572873d
Author: Kalev Lember <kalev smartlink ee>
Date: Sat Mar 26 11:43:11 2011 +0100
Wrap a missing flag in GtkStateFlags
* gtk/src/gtk_enums.defs: Added missing GTK_STATE_FLAG_NORMAL by
regenerated with glibmm/tools/enums.pl.
ChangeLog | 7 ++++
gtk/src/gtk_enums.defs | 87 ++++++++++--------------------------------------
2 files changed, 25 insertions(+), 69 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 91fed7f..a75ab12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-03-26 Kalev Lember <kalev smartlink ee>
+ Wrap a missing flag in GtkStateFlags
+
+ * gtk/src/gtk_enums.defs: Added missing GTK_STATE_FLAG_NORMAL by
+ regenerated with glibmm/tools/enums.pl.
+
+2011-03-26 Kalev Lember <kalev smartlink ee>
+
MenuShell: Removed documentation references about Menu_Helpers::MenuElem
* gtk/src/menushell.hg: Removed references to
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index 3b4a9e0..72422eb 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -256,8 +256,8 @@
;; Original typedef:
;; typedef enum
;; {
-;; GTK_DIALOG_MODAL = 1 << 0, /* call gtk_window_set_modal (win, TRUE) */
-;; GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1 /* call gtk_window_set_destroy_with_parent () */
+;; GTK_DIALOG_MODAL = 1 << 0,
+;; GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1
;; } GtkDialogFlags;
(define-flags-extended DialogFlags
@@ -272,31 +272,17 @@
;; Original typedef:
;; typedef enum
;; {
-;; /* GTK returns this if a response widget has no response_id,
-;; * or if the dialog gets programmatically hidden or destroyed.
-;; */
-;; GTK_RESPONSE_NONE = -1,
-;;
-;; /* GTK won't return these unless you pass them in
-;; * as the response for an action widget. They are
-;; * for your convenience.
-;; */
-;; GTK_RESPONSE_REJECT = -2,
-;; GTK_RESPONSE_ACCEPT = -3,
-;;
-;; /* If the dialog is deleted. */
+;; GTK_RESPONSE_NONE = -1,
+;; GTK_RESPONSE_REJECT = -2,
+;; GTK_RESPONSE_ACCEPT = -3,
;; GTK_RESPONSE_DELETE_EVENT = -4,
-;;
-;; /* These are returned from GTK dialogs, and you can also use them
-;; * yourself if you like.
-;; */
-;; GTK_RESPONSE_OK = -5,
-;; GTK_RESPONSE_CANCEL = -6,
-;; GTK_RESPONSE_CLOSE = -7,
-;; GTK_RESPONSE_YES = -8,
-;; GTK_RESPONSE_NO = -9,
-;; GTK_RESPONSE_APPLY = -10,
-;; GTK_RESPONSE_HELP = -11
+;; GTK_RESPONSE_OK = -5,
+;; GTK_RESPONSE_CANCEL = -6,
+;; GTK_RESPONSE_CLOSE = -7,
+;; GTK_RESPONSE_YES = -8,
+;; GTK_RESPONSE_NO = -9,
+;; GTK_RESPONSE_APPLY = -10,
+;; GTK_RESPONSE_HELP = -11
;; } GtkResponseType;
(define-enum-extended ResponseType
@@ -884,9 +870,9 @@
;; Original typedef:
;; typedef enum
;; {
-;; GTK_RESIZE_PARENT, /* Pass resize request to the parent */
-;; GTK_RESIZE_QUEUE, /* Queue resizes on this widget */
-;; GTK_RESIZE_IMMEDIATE /* Perform the resizes now */
+;; GTK_RESIZE_PARENT,
+;; GTK_RESIZE_QUEUE,
+;; GTK_RESIZE_IMMEDIATE
;; } GtkResizeMode;
(define-enum-extended ResizeMode
@@ -946,7 +932,7 @@
;; Original typedef:
;; typedef enum
;; {
-;; GTK_SELECTION_NONE, /* Nothing can be selected */
+;; GTK_SELECTION_NONE,
;; GTK_SELECTION_SINGLE,
;; GTK_SELECTION_BROWSE,
;; GTK_SELECTION_MULTIPLE
@@ -1034,24 +1020,6 @@
;; Original typedef:
;; typedef enum
;; {
-;; GTK_UPDATE_CONTINUOUS,
-;; GTK_UPDATE_DISCONTINUOUS,
-;; GTK_UPDATE_DELAYED
-;; } GtkUpdateType;
-
-(define-enum-extended UpdateType
- (in-module "Gtk")
- (c-name "GtkUpdateType")
- (values
- '("continuous" "GTK_UPDATE_CONTINUOUS" "0")
- '("discontinuous" "GTK_UPDATE_DISCONTINUOUS" "1")
- '("delayed" "GTK_UPDATE_DELAYED" "2")
- )
-)
-
-;; Original typedef:
-;; typedef enum
-;; {
;; GTK_WIN_POS_NONE,
;; GTK_WIN_POS_CENTER,
;; GTK_WIN_POS_MOUSE,
@@ -1402,6 +1370,7 @@
;; Original typedef:
;; typedef enum
;; {
+;; GTK_STATE_FLAG_NORMAL = 0,
;; GTK_STATE_FLAG_ACTIVE = 1 << 0,
;; GTK_STATE_FLAG_PRELIGHT = 1 << 1,
;; GTK_STATE_FLAG_SELECTED = 1 << 2,
@@ -1414,6 +1383,7 @@
(in-module "Gtk")
(c-name "GtkStateFlags")
(values
+ '("normal" "GTK_STATE_FLAG_NORMAL" "0x0")
'("active" "GTK_STATE_FLAG_ACTIVE" "1 << 0")
'("prelight" "GTK_STATE_FLAG_PRELIGHT" "1 << 1")
'("selected" "GTK_STATE_FLAG_SELECTED" "1 << 2")
@@ -1709,26 +1679,6 @@
)
)
-;; From gtkobject.h
-
-;; Original typedef:
-;; typedef enum
-;; {
-;; GTK_IN_DESTRUCTION = 1 << 0, /* Used internally during dispose */
-;; GTK_RESERVED_1 = 1 << 2,
-;; GTK_RESERVED_2 = 1 << 3
-;; } GtkObjectFlags;
-
-(define-flags-extended ObjectFlags
- (in-module "Gtk")
- (c-name "GtkObjectFlags")
- (values
- '("in-destruction" "GTK_IN_DESTRUCTION" "1 << 0")
- '("reserved-1" "GTK_RESERVED_1" "1 << 2")
- '("reserved-2" "GTK_RESERVED_2" "1 << 3")
- )
-)
-
;; From gtkprintoperation.h
;; Original typedef:
@@ -2343,4 +2293,3 @@
)
)
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]