mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
GAction: back out changes to property flags
41e5ba86a7
introduced some changes to the
property flags of GAction. These changes were not a reflection of the
actual interface of GAction but were necessary due to GObject being
overly-sensitive to flag changes on property overrides.
Now that the GObject bug is fixed, we can restore the GAction flags to
their correct values.
https://bugzilla.gnome.org/show_bug.cgi?id=666615
This commit is contained in:
parent
af24dbc12a
commit
ebf572cdd8
@ -94,8 +94,7 @@ g_action_default_init (GActionInterface *iface)
|
||||
P_("Action Name"),
|
||||
P_("The name used to invoke the action"),
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
@ -111,8 +110,7 @@ g_action_default_init (GActionInterface *iface)
|
||||
P_("Parameter Type"),
|
||||
P_("The type of GVariant passed to activate()"),
|
||||
G_TYPE_VARIANT_TYPE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
@ -130,8 +128,7 @@ g_action_default_init (GActionInterface *iface)
|
||||
P_("Enabled"),
|
||||
P_("If the action can be activated"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
@ -163,8 +160,7 @@ g_action_default_init (GActionInterface *iface)
|
||||
P_("The state the action is in"),
|
||||
G_VARIANT_TYPE_ANY,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user