summaryrefslogtreecommitdiff
path: root/src/bdm.h
diff options
context:
space:
mode:
authorracarr <racarr>2007-01-28 23:59:03 +0000
committerracarr <racarr>2007-01-28 23:59:03 +0000
commitf8e74debc0ef47fe8f216165e25a0c89606bf883 (patch)
tree012646a285154fc76669ad1d89e59a24e75239b6 /src/bdm.h
parent45f5dd4ac0a2fd06a48c9cb85fcd37cd35baf851 (diff)
downloadberyl-desktop-manager-f8e74debc0ef47fe8f216165e25a0c89606bf883.tar.gz
beryl-desktop-manager-f8e74debc0ef47fe8f216165e25a0c89606bf883.tar.bz2
Remove setBDMWidget and pass to initWidget
Diffstat (limited to 'src/bdm.h')
-rw-r--r--src/bdm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bdm.h b/src/bdm.h
index b72e4e0..25f0775 100644
--- a/src/bdm.h
+++ b/src/bdm.h
@@ -119,7 +119,7 @@ typedef struct _BDMEvent
// Add more useful stuff
} BDMEvent;
-typedef int (*BDMWidgetInitProc) (void);
+typedef int (*BDMWidgetInitProc) (BDMWidget * widget);
typedef int (*BDMWidgetFiniProc) (void);
typedef int (*BDMWidgetUpdateProc) (void);
@@ -146,7 +146,6 @@ struct _BDMWidget
BDMWidgetGetTextProc getTexts;
BDMWidgetHandleEventProc handleEvent;
- BDMWidgetSetBDMWidgetProc setBDMWidget;
};