Commit 23dda3ea authored by Javier Jardón's avatar Javier Jardón

gtkbutton: Move private functions to private header

https://bugzilla.gnome.org/show_bug.cgi?id=651707
parent 7d794860
......@@ -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
......
......@@ -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__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment