diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-04-17 00:20:09 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-04-17 10:57:36 -0400 |
commit | df1816a29cb5e7b37494aaf7f92fcd6bba98e7ef (patch) | |
tree | 964c89f35e269b545b0b5d531cc66659a591f6f6 /gtk/gtkbutton.h | |
parent | fdbbef863dd34211311016eaaf58ae4767e9f409 (diff) | |
download | gtk+-df1816a29cb5e7b37494aaf7f92fcd6bba98e7ef.tar.gz |
button: Drop relief
We are only using this as a boolean, so change it
to a boolean property named has-frame.
Diffstat (limited to 'gtk/gtkbutton.h')
-rw-r--r-- | gtk/gtkbutton.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h index f3738f9166..9a4b15c992 100644 --- a/gtk/gtkbutton.h +++ b/gtk/gtkbutton.h @@ -86,10 +86,10 @@ GDK_AVAILABLE_IN_ALL GtkWidget* gtk_button_new_with_mnemonic (const gchar *label); GDK_AVAILABLE_IN_ALL -void gtk_button_set_relief (GtkButton *button, - GtkReliefStyle relief); +void gtk_button_set_has_frame (GtkButton *button, + gboolean has_frame); GDK_AVAILABLE_IN_ALL -GtkReliefStyle gtk_button_get_relief (GtkButton *button); +gboolean gtk_button_get_has_frame (GtkButton *button); GDK_AVAILABLE_IN_ALL void gtk_button_set_label (GtkButton *button, const gchar *label); |