summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-06-26 21:59:06 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-06-26 22:02:18 -0400
commit598777166fc6d86fedbe1fa0df6b2afed73378e3 (patch)
tree3e8fd8db80c632a74e8acce9eb4d9ce2a22139e1 /gtk/gtkbutton.h
parente6341a0b630635438982b9abe9c02d48041a1bc0 (diff)
downloadgtk+-598777166fc6d86fedbe1fa0df6b2afed73378e3.tar.gz
GtkButton: Use FLAT style class
This commit makes button always draw background and frame. Buttons with relief none get a new style class, FLAT, which allows themes to style these buttons as they like. We also (finally) mark GTK_RELIEF_HALF as deprecated. It has never done anything different from GTK_RELIEF_NORMAL. https://bugzilla.gnome.org/show_bug.cgi?id=732256
Diffstat (limited to 'gtk/gtkbutton.h')
-rw-r--r--gtk/gtkbutton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h
index 261772245d..99b19ba3aa 100644
--- a/gtk/gtkbutton.h
+++ b/gtk/gtkbutton.h
@@ -116,7 +116,7 @@ void gtk_button_leave (GtkButton *button);
GDK_AVAILABLE_IN_ALL
void gtk_button_set_relief (GtkButton *button,
- GtkReliefStyle newstyle);
+ GtkReliefStyle relief);
GDK_AVAILABLE_IN_ALL
GtkReliefStyle gtk_button_get_relief (GtkButton *button);
GDK_AVAILABLE_IN_ALL