+static void
+psppire_var_sheet_set_property (GObject *object,
+ guint property_id,
+ const GValue *value,
+ GParamSpec *pspec)
+{
+ PsppireVarSheet *self = (PsppireVarSheet *) object;
+
+ switch (property_id)
+ {
+ case PSPPIRE_VAR_SHEET_MAY_CREATE_VARS:
+ self->may_create_vars = g_value_get_boolean (value);
+ break;
+
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
+ break;
+ }
+}
+
+static void
+psppire_var_sheet_get_property (GObject *object,
+ guint property_id,
+ GValue *value,
+ GParamSpec *pspec)
+{
+ PsppireVarSheet *self = (PsppireVarSheet *) object;
+
+ switch (property_id)
+ {
+ case PSPPIRE_VAR_SHEET_MAY_CREATE_VARS:
+ g_value_set_boolean (value, self->may_create_vars);
+ break;
+
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
+ break;
+ }
+}
+