summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorracarr <racarr>2007-01-28 17:31:58 +0000
committerracarr <racarr>2007-01-28 17:31:58 +0000
commita4954b41f060f738786fcf5943bc232e80e9b258 (patch)
tree557b6e234fa5dab245f7cb9f1c1e2235dcd5f1eb
parent472e4d0c6e60400c49a9355f9d4baa1822d4140d (diff)
downloadberyl-desktop-manager-a4954b41f060f738786fcf5943bc232e80e9b258.tar.gz
beryl-desktop-manager-a4954b41f060f738786fcf5943bc232e80e9b258.tar.bz2
Err, fix compilation
-rw-r--r--src/bdm.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/bdm.h b/src/bdm.h
index 0654c38..9d5aada 100644
--- a/src/bdm.h
+++ b/src/bdm.h
@@ -73,16 +73,20 @@ typedef struct _BDMPaintAttribs
int alpha;
} BDMPaintAttribs;
-typedef struct _BDMImage
+typedef struct _BDMImage BDMImage;
+
+struct _BDMImage
{
BDMPaintAttribs * attrib;
BDMImage * next;
BDMImage * prev;
GdkPixbuf * pixbuf;
-} BDMImage;
+} ;
+
+typedef struct _BDMText BDMText;
-typedef struct _BDMText
+struct _BDMText
{
BDMPaintAttribs * attrib;
BDMText *next;
@@ -90,7 +94,7 @@ typedef struct _BDMText
char * text;
// Add font information, will use pango
-} BDMText;
+} ;
typedef struct _BDMEvent
{
@@ -103,10 +107,10 @@ typedef int (*BDMWidgetFiniProc) (void);
typedef int (*BDMWidgetUpdateProc) (void);
typedef int (*BDMWidgetNumImagesProc) (void);
-typedef *BDMImage (*BDMWidgetGetImagesProc) (void);
+typedef BDMImage * (*BDMWidgetGetImagesProc) (void);
typedef int (*BDMWidgetNumTextProc) (void);
-typedef *BDMText (*BDMWidgetGetTextProc) (void);
+typedef BDMText * (*BDMWidgetGetTextProc) (void);
typedef int (*BDMWidgetHandleEventProc) (BDMEvent *event);
@@ -129,7 +133,7 @@ typedef struct _BDMWidget
BDMWidgetHandleEventProc handleEvent;
-}
+} BDMWidget;