mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Drop gtk_button_clicked
This is not an api we want to propagate anymore. If you need to, you can still emit the "clicked" action signal on a button using g_signal_emit_by_name.
This commit is contained in:
parent
5368f98dd5
commit
bcfff5e469
@ -537,7 +537,6 @@ gtk_button_new
|
||||
gtk_button_new_with_label
|
||||
gtk_button_new_with_mnemonic
|
||||
gtk_button_new_from_icon_name
|
||||
gtk_button_clicked
|
||||
gtk_button_set_relief
|
||||
gtk_button_get_relief
|
||||
gtk_button_get_label
|
||||
|
@ -646,20 +646,6 @@ gtk_button_new_with_mnemonic (const gchar *label)
|
||||
return g_object_new (GTK_TYPE_BUTTON, "label", label, "use-underline", TRUE, NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_button_clicked:
|
||||
* @button: The #GtkButton you want to send the signal to.
|
||||
*
|
||||
* Emits a #GtkButton::clicked signal to the given #GtkButton.
|
||||
*/
|
||||
void
|
||||
gtk_button_clicked (GtkButton *button)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_BUTTON (button));
|
||||
|
||||
g_signal_emit (button, button_signals[CLICKED], 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_button_set_relief:
|
||||
* @button: The #GtkButton you want to set relief styles of
|
||||
|
@ -88,8 +88,6 @@ GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget* gtk_button_new_from_icon_name (const gchar *icon_name);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget* gtk_button_new_with_mnemonic (const gchar *label);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_button_clicked (GtkButton *button);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_button_set_relief (GtkButton *button,
|
||||
|
Loading…
Reference in New Issue
Block a user