summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-18 14:23:10 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-05-18 14:33:41 -0400
commitbcfff5e46934cb7bb9bae0730d557a3ed0faf163 (patch)
tree2c79aa0ad47fcdecba036964f72d008acd507704 /gtk/gtkbutton.c
parent5368f98dd58bf8520337b464dbbd7ed71488da99 (diff)
downloadgtk+-bcfff5e46934cb7bb9bae0730d557a3ed0faf163.tar.gz
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.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 7d20cb0873..f58517656e 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -647,20 +647,6 @@ gtk_button_new_with_mnemonic (const gchar *label)
}
/**
- * 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
* @relief: The GtkReliefStyle as described above