summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-06-07 11:47:53 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-06-09 13:30:53 -0400
commita27ba44331a0709f44d23ba8c981ab1de6a99bfa (patch)
treeed0b8978a63c4383314fb1a98618c1e53dc2e340 /gtk/gtkcombobox.c
parent5e04bd04c8586dc3ea96c964700080ef0ff099a3 (diff)
downloadgtk+-a27ba44331a0709f44d23ba8c981ab1de6a99bfa.tar.gz
GtkComboBox: Use G_PARAM_EXPLICIT_NOTIFY
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index fd6e9224aa..4f65c565af 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -729,7 +729,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("ComboBox model"),
P_("The model for the combo box"),
GTK_TYPE_TREE_MODEL,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkComboBox:wrap-width:
@@ -748,7 +748,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
0,
G_MAXINT,
0,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
@@ -771,7 +771,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
-1,
G_MAXINT,
-1,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
@@ -793,7 +793,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
-1,
G_MAXINT,
-1,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
@@ -815,7 +815,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
-1,
G_MAXINT,
-1,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkComboBox:add-tearoffs:
@@ -835,7 +835,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("Add tearoffs to menus"),
P_("Whether dropdowns should have a tearoff menu item"),
FALSE,
- GTK_PARAM_READWRITE | G_PARAM_DEPRECATED));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY|G_PARAM_DEPRECATED));
/**
* GtkComboBox:has-frame:
@@ -851,7 +851,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("Has Frame"),
P_("Whether the combo box draws a frame around the child"),
TRUE,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
g_object_class_install_property (object_class,
PROP_FOCUS_ON_CLICK,
@@ -859,7 +859,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("Focus on click"),
P_("Whether the combo box grabs focus when it is clicked with the mouse"),
TRUE,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkComboBox:tearoff-title:
@@ -877,7 +877,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("Tearoff Title"),
P_("A title that may be displayed by the window manager when the popup is torn-off"),
NULL,
- GTK_PARAM_READWRITE | G_PARAM_DEPRECATED));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY|G_PARAM_DEPRECATED));
/**
@@ -913,7 +913,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("Whether the dropdown button is sensitive when the model is empty"),
GTK_TYPE_SENSITIVITY_TYPE,
GTK_SENSITIVITY_AUTO,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkComboBox:has-entry:
@@ -928,7 +928,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("Has Entry"),
P_("Whether combo box has an entry"),
FALSE,
- GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+ GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
/**
* GtkComboBox:entry-text-column:
@@ -946,7 +946,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
"with strings from the entry if the combo was "
"created with #GtkComboBox:has-entry = %TRUE"),
-1, G_MAXINT, -1,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkComboBox:id-column:
@@ -963,7 +963,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("The column in the combo box's model that provides "
"string IDs for the values in the model"),
-1, G_MAXINT, -1,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkComboBox:active-id:
@@ -978,7 +978,8 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("Active id"),
P_("The value of the id column "
"for the active row"),
- NULL, GTK_PARAM_READWRITE));
+ NULL,
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkComboBox:popup-fixed-width:
@@ -996,7 +997,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
"fixed width matching the allocated width "
"of the combo box"),
TRUE,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkComboBox:cell-area:
@@ -1014,7 +1015,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
P_("Cell Area"),
P_("The GtkCellArea used to layout cells"),
GTK_TYPE_CELL_AREA,
- GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+ GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("appears-as-list",