GtkGrid: fix property installation
The previous commit was misapplied.
This commit is contained in:
@ -146,13 +146,13 @@ struct _GtkGridRequest
|
|||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_ORIENTATION,
|
|
||||||
PROP_ROW_SPACING,
|
PROP_ROW_SPACING,
|
||||||
PROP_COLUMN_SPACING,
|
PROP_COLUMN_SPACING,
|
||||||
PROP_ROW_HOMOGENEOUS,
|
PROP_ROW_HOMOGENEOUS,
|
||||||
PROP_COLUMN_HOMOGENEOUS,
|
PROP_COLUMN_HOMOGENEOUS,
|
||||||
PROP_BASELINE_ROW,
|
PROP_BASELINE_ROW,
|
||||||
N_PROPERTIES
|
N_PROPERTIES,
|
||||||
|
PROP_ORIENTATION
|
||||||
};
|
};
|
||||||
|
|
||||||
static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, };
|
static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, };
|
||||||
@ -1758,16 +1758,16 @@ gtk_grid_class_init (GtkGridClass *class)
|
|||||||
FALSE,
|
FALSE,
|
||||||
GTK_PARAM_READWRITE);
|
GTK_PARAM_READWRITE);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class,
|
obj_properties[PROP_BASELINE_ROW] =
|
||||||
N_PROPERTIES,
|
|
||||||
obj_properties);
|
|
||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_BASELINE_ROW,
|
|
||||||
g_param_spec_int ("baseline-row",
|
g_param_spec_int ("baseline-row",
|
||||||
P_("Baseline Row"),
|
P_("Baseline Row"),
|
||||||
P_("The row to align the to the baseline when valign is GTK_ALIGN_BASELINE"),
|
P_("The row to align the to the baseline when valign is GTK_ALIGN_BASELINE"),
|
||||||
0, G_MAXINT, 0,
|
0, G_MAXINT, 0,
|
||||||
GTK_PARAM_READWRITE));
|
GTK_PARAM_READWRITE);
|
||||||
|
|
||||||
|
g_object_class_install_properties (object_class,
|
||||||
|
N_PROPERTIES,
|
||||||
|
obj_properties);
|
||||||
|
|
||||||
gtk_container_class_install_child_property (container_class, CHILD_PROP_LEFT_ATTACH,
|
gtk_container_class_install_child_property (container_class, CHILD_PROP_LEFT_ATTACH,
|
||||||
g_param_spec_int ("left-attach",
|
g_param_spec_int ("left-attach",
|
||||||
|
|||||||
Reference in New Issue
Block a user