summaryrefslogtreecommitdiff
path: root/gladeui/glade-project.h
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2011-06-14 15:50:18 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2011-06-14 15:50:18 -0300
commitc4c6f4408540d0ae251c6c0d776ea4df6a086c71 (patch)
treeb6eb8a9ab7c42471681a59d0b4da673c94d31926 /gladeui/glade-project.h
parent2f6c0f2c18a981b44e135ef5507601c49059091f (diff)
downloadglade-c4c6f4408540d0ae251c6c0d776ea4df6a086c71.tar.gz
Fixed C++ compiler errors when including glade.h
Diffstat (limited to 'gladeui/glade-project.h')
-rw-r--r--gladeui/glade-project.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/gladeui/glade-project.h b/gladeui/glade-project.h
index 1b9eb83f..ab589b00 100644
--- a/gladeui/glade-project.h
+++ b/gladeui/glade-project.h
@@ -19,8 +19,6 @@ G_BEGIN_DECLS
typedef struct _GladeProjectPrivate GladeProjectPrivate;
typedef struct _GladeProjectClass GladeProjectClass;
-typedef enum _GladePointerMode GladePointerMode;
-typedef enum _GladeSupportMask GladeSupportMask;
/**
* GladePointerMode:
@@ -31,19 +29,19 @@ typedef enum _GladeSupportMask GladeSupportMask;
*
* Indicates what the pointer is used for in the workspace.
*/
-enum _GladePointerMode
+typedef enum
{
GLADE_POINTER_SELECT = 0,
GLADE_POINTER_ADD_WIDGET,
GLADE_POINTER_DRAG_RESIZE
-};
+} GladePointerMode;
-enum _GladeSupportMask
+typedef enum
{
GLADE_SUPPORT_OK = 0,
GLADE_SUPPORT_DEPRECATED = (0x01 << 0),
GLADE_SUPPORT_MISMATCH = (0x01 << 1)
-};
+} GladeSupportMask;
/**
* GladeProjectModelColumns: