We must explicitly specify that the array is null-terminated.
public abstract unowned GLib.Variant get_action_state_hint (string action_name);
public abstract unowned GLib.VariantType get_action_state_type (string action_name);
public abstract bool has_action (string action_name);
- [CCode (array_length = false)]
+ [CCode (array_length = false, array_null_terminated = true)]
public abstract string[] list_actions ();
[HasEmitter]
public signal void action_added (string action_name);
GActionGroup::action_removed has_emitter="1"
GActionGroup::action_enabled_changed has_emitter="1"
GActionGroup::action_state_changed has_emitter="1"
-g_action_group_list_actions is_array="1" transfer_ownership="1" no_array_length="1"
+g_action_group_list_actions is_array="1" transfer_ownership="1" no_array_length="1" array_null_terminated="1"
g_cancellable_set_error_if_cancelled error_types="IOError"
g_cancellable_connect.callback type_name="GLib.Func<GLib.Cancellable>" ctype="GCallback*" transfer_ownership="1"