[gtk+] gtkbutton: Move private functions to private header
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkbutton: Move private functions to private header
- Date: Mon, 6 Jun 2011 11:27:59 +0000 (UTC)
commit 23dda3ea8e3d9864808822fd11b730cd3c1cbc0c
Author: Javier Jardón <jjardon gnome org>
Date: Mon Jun 6 01:17:30 2011 +0200
gtkbutton: Move private functions to private header
https://bugzilla.gnome.org/show_bug.cgi?id=651707
gtk/gtkbutton.h | 7 -------
gtk/gtkbuttonprivate.h | 14 ++++++++++++++
2 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h
index 2ad602e..a373291 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 259bc42..5db1bc1 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__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]