summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-09-08 00:23:04 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:39 +0200
commit748d3d612db8493edea1ff0b4f2aceb6cad73941 (patch)
tree0b79b7c0601e276ae889c7adb162b933760b2ad1 /gtk/gtkbutton.h
parente0be8842976717ea3a2484d53af48ec01e122f76 (diff)
downloadgtk+-748d3d612db8493edea1ff0b4f2aceb6cad73941.tar.gz
button: Port to draw vfunc
Also port togglebutton, they use the same paint function.
Diffstat (limited to 'gtk/gtkbutton.h')
-rw-r--r--gtk/gtkbutton.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h
index ea76cd8b24..dabb64b800 100644
--- a/gtk/gtkbutton.h
+++ b/gtk/gtkbutton.h
@@ -136,7 +136,9 @@ GdkWindow* gtk_button_get_event_window (GtkButton *button);
void _gtk_button_set_depressed (GtkButton *button,
gboolean depressed);
void _gtk_button_paint (GtkButton *button,
- const GdkRectangle *area,
+ cairo_t *cr,
+ int width,
+ int height,
GtkStateType state_type,
GtkShadowType shadow_type,
const gchar *main_detail,