static void gtk_switch_set_action_target_value (GtkActionable *actionable, GVariant *action_target) { GtkSwitch *sw = GTK_SWITCH (actionable); if (!sw->priv->action_helper) sw->priv->action_helper = gtk_action_helper_new (actionable); gtk_action_helper_set_action_target_value (sw->priv->action_helper, action_target); }
static void gtk_button_set_action_target_value (GtkActionable *actionable, GVariant *action_target) { GtkButton *button = GTK_BUTTON (actionable); if (!button->priv->action_helper) button->priv->action_helper = gtk_action_helper_new (actionable); gtk_action_helper_set_action_target_value (button->priv->action_helper, action_target); }