GSimpleAction: add g_simple_action_set_state_hint

Currently the only way to set a state hint on an action is through a
subclass; add a g_simple_action_set_state_hint() method so that this
becomes easier for clients that already use GSimpleAction.

https://bugzilla.gnome.org/show_bug.cgi?id=743521
This commit is contained in:
Cosimo Cecchi
2015-01-26 11:18:06 +00:00
parent 2a0c18041b
commit be2d9b4f58
3 changed files with 43 additions and 1 deletions

View File

@@ -3221,6 +3221,7 @@ g_simple_action_new_stateful
<SUBSECTION>
g_simple_action_set_enabled
g_simple_action_set_state
g_simple_action_set_state_hint
<SUBSECTION Standard>
g_simple_action_get_type