stage: handle ACCEPT_FOCUS in set_/get_property

This commit is contained in:
Øyvind Kolås 2011-03-11 17:09:59 +00:00
parent 49ca9e8f12
commit 9753046ca0

View File

@ -1212,6 +1212,10 @@ clutter_stage_set_property (GObject *object,
clutter_stage_set_no_clear_hint (stage, g_value_get_boolean (value));
break;
case PROP_ACCEPT_FOCUS:
clutter_stage_set_accept_focus (stage, g_value_get_boolean (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@ -1281,6 +1285,10 @@ clutter_stage_get_property (GObject *gobject,
}
break;
case PROP_ACCEPT_FOCUS:
g_value_set_boolean (value, priv->accept_focus);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);
break;