gtkbutton: Move private functions to private header
https://bugzilla.gnome.org/show_bug.cgi?id=651707
This commit is contained in:
parent
7d79486083
commit
23dda3ea8e
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user