forked from AuroraMiddleware/gtk
GtkFlowBox: Use G_PARAM_EXPLICIT_NOTIFY
This commit is contained in:
parent
b549e52c2c
commit
51d17910a1
@ -3665,7 +3665,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
|
||||
P_("The selection mode"),
|
||||
GTK_TYPE_SELECTION_MODE,
|
||||
GTK_SELECTION_SINGLE,
|
||||
G_PARAM_READWRITE);
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
/**
|
||||
* GtkFlowBox:activate-on-single-click:
|
||||
@ -3678,7 +3678,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
|
||||
P_("Activate on Single Click"),
|
||||
P_("Activate row on a single click"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE);
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
/**
|
||||
* GtkFlowBox:homogeneous:
|
||||
@ -3691,7 +3691,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
|
||||
P_("Homogeneous"),
|
||||
P_("Whether the children should all be the same size"),
|
||||
FALSE,
|
||||
G_PARAM_READWRITE);
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
/**
|
||||
* GtkFlowBox:min-children-per-line:
|
||||
@ -3709,7 +3709,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
|
||||
P_("The minimum number of children to allocate "
|
||||
"consecutively in the given orientation."),
|
||||
0, G_MAXUINT, 0,
|
||||
G_PARAM_READWRITE);
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
/**
|
||||
* GtkFlowBox:max-children-per-line:
|
||||
@ -3723,7 +3723,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
|
||||
P_("The maximum amount of children to request space for "
|
||||
"consecutively in the given orientation."),
|
||||
0, G_MAXUINT, DEFAULT_MAX_CHILDREN_PER_LINE,
|
||||
G_PARAM_READWRITE);
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
/**
|
||||
* GtkFlowBox:row-spacing:
|
||||
@ -3735,7 +3735,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
|
||||
P_("Vertical spacing"),
|
||||
P_("The amount of vertical space between two children"),
|
||||
0, G_MAXUINT, 0,
|
||||
G_PARAM_READWRITE);
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
/**
|
||||
* GtkFlowBox:column-spacing:
|
||||
@ -3747,7 +3747,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
|
||||
P_("Horizontal spacing"),
|
||||
P_("The amount of horizontal space between two children"),
|
||||
0, G_MAXUINT, 0,
|
||||
G_PARAM_READWRITE);
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
g_object_class_install_properties (object_class, LAST_PROP, props);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user