gtkbutton: Move private functions to private header

https://bugzilla.gnome.org/show_bug.cgi?id=651707
This commit is contained in:
Javier Jardón 2011-06-06 01:17:30 +02:00
parent 7d79486083
commit 23dda3ea8e
2 changed files with 14 additions and 7 deletions

View File

@ -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

View File

@ -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__ */