[gtk+] menu: Move enum declaration to correct header
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menu: Move enum declaration to correct header
- Date: Fri, 29 Mar 2013 12:29:50 +0000 (UTC)
commit 436af3fcb5455891b366c655d8cb4ee3546a59d6
Author: Benjamin Otte <otte redhat com>
Date: Tue Mar 26 13:14:05 2013 +0100
menu: Move enum declaration to correct header
That enum is used in GtkMenuShellClass, so put it there.
gtk/gtkmenuprivate.h | 7 -------
gtk/gtkmenushellprivate.h | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkmenuprivate.h b/gtk/gtkmenuprivate.h
index f458358..f1a40d8 100644
--- a/gtk/gtkmenuprivate.h
+++ b/gtk/gtkmenuprivate.h
@@ -36,13 +36,6 @@ typedef enum
GTK_DIRECTION_RIGHT
} GtkSubmenuDirection;
-/* Placement of submenus */
-typedef enum
-{
- GTK_TOP_BOTTOM,
- GTK_LEFT_RIGHT
-} GtkSubmenuPlacement;
-
struct _GtkMenuPrivate
{
diff --git a/gtk/gtkmenushellprivate.h b/gtk/gtkmenushellprivate.h
index e38e394..9ef04f3 100644
--- a/gtk/gtkmenushellprivate.h
+++ b/gtk/gtkmenushellprivate.h
@@ -26,6 +26,13 @@
G_BEGIN_DECLS
+/* Placement of submenus */
+typedef enum
+{
+ GTK_TOP_BOTTOM,
+ GTK_LEFT_RIGHT
+} GtkSubmenuPlacement;
+
struct _GtkMenuShellPrivate
{
GList *children;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]