mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-01 19:36:37 +02:00
GSimpleAction: tweak property flags
There's no need for 'enabled' and 'state' to be marked construct-only. These properties are writable at all times.
This commit is contained in:
@@ -437,7 +437,6 @@ g_simple_action_class_init (GSimpleActionClass *class)
|
||||
P_("If the action can be activated"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
@@ -470,7 +469,6 @@ g_simple_action_class_init (GSimpleActionClass *class)
|
||||
G_VARIANT_TYPE_ANY,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user