* @get_state_hint: the virtual function pointer for g_action_get_state_hint()
* @get_enabled: the virtual function pointer for g_action_get_enabled()
* @get_state: the virtual function pointer for g_action_get_state()
- * @set_state: the virtual function pointer for g_action_set_state()
+ * @change_state: the virtual function pointer for g_action_change_state()
* @activate: the virtual function pointer for g_action_activate(). Note that #GAction does not have an
* 'activate' signal but that implementations of it may have one.
*
gboolean (* get_enabled) (GAction *action);
GVariant * (* get_state) (GAction *action);
- void (* set_state) (GAction *action,
- GVariant *value);
+ void (* change_state) (GAction *action,
+ GVariant *value);
void (* activate) (GAction *action,
GVariant *parameter);
};
gboolean g_action_get_enabled (GAction *action);
GVariant * g_action_get_state (GAction *action);
-void g_action_set_state (GAction *action,
- GVariant *value);
+void g_action_change_state (GAction *action,
+ GVariant *value);
void g_action_activate (GAction *action,
GVariant *parameter);
G_END_DECLS