diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-06-06 01:17:30 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-06-06 11:58:07 +0100 |
commit | 23dda3ea8e3d9864808822fd11b730cd3c1cbc0c (patch) | |
tree | 6eed42bd937c4c95f993d03f8a667a72e681e49f | |
parent | 7d79486083e57995a4253cd6a94f85c940d329f7 (diff) | |
download | gtk+-23dda3ea8e3d9864808822fd11b730cd3c1cbc0c.tar.gz |
gtkbutton: Move private functions to private header
https://bugzilla.gnome.org/show_bug.cgi?id=651707
-rw-r--r-- | gtk/gtkbutton.h | 7 | ||||
-rw-r--r-- | gtk/gtkbuttonprivate.h | 14 |
2 files changed, 14 insertions, 7 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h index 2ad602e8d2..a373291b61 100644 --- a/gtk/gtkbutton.h +++ b/gtk/gtkbutton.h @@ -121,13 +121,6 @@ GtkPositionType gtk_button_get_image_position (GtkButton *button); GdkWindow* gtk_button_get_event_window (GtkButton *button); -void _gtk_button_set_depressed (GtkButton *button, - gboolean depressed); -void _gtk_button_paint (GtkButton *button, - cairo_t *cr, - int width, - int height, - GtkStateFlags state); G_END_DECLS diff --git a/gtk/gtkbuttonprivate.h b/gtk/gtkbuttonprivate.h index 259bc42fbc..5db1bc1171 100644 --- a/gtk/gtkbuttonprivate.h +++ b/gtk/gtkbuttonprivate.h @@ -21,6 +21,9 @@ #include "gtkaction.h" +G_BEGIN_DECLS + + struct _GtkButtonPrivate { GtkAction *action; @@ -53,4 +56,15 @@ struct _GtkButtonPrivate guint use_underline : 1; }; +void _gtk_button_set_depressed (GtkButton *button, + gboolean depressed); +void _gtk_button_paint (GtkButton *button, + cairo_t *cr, + int width, + int height, + GtkStateFlags state); + + +G_END_DECLS + #endif /* __GTK_BUTTON_PRIVATE_H__ */ |