diff options
author | Benjamin Otte <otte@redhat.com> | 2010-09-08 00:23:04 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:39 +0200 |
commit | 748d3d612db8493edea1ff0b4f2aceb6cad73941 (patch) | |
tree | 0b79b7c0601e276ae889c7adb162b933760b2ad1 /gtk/gtkbutton.h | |
parent | e0be8842976717ea3a2484d53af48ec01e122f76 (diff) | |
download | gtk+-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.h | 4 |
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, |