GSimpleAction: add g_simple_action_set_state_hint
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 26 Jan 2015 11:18:06 +0000 (11:18 +0000)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 26 Jan 2015 12:06:24 +0000 (12:06 +0000)
commitbe2d9b4f5801380ac02e8d158686538d10e3dee5
treeec54edfb2aeb965fdccd9c8057d8c0bc417b238b
parent2a0c18041ba71435df3fc3834d360553c97fdfe4
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
docs/reference/gio/gio-sections.txt
gio/gsimpleaction.c
gio/gsimpleaction.h