summaryrefslogtreecommitdiff
path: root/src/bdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bdm.c')
-rw-r--r--src/bdm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bdm.c b/src/bdm.c
index d22ae28..41f322f 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -225,7 +225,6 @@ static int loadWidget (char * path)
widget->getTexts = dlsym (widgetDL, "getTexts");
widget->handleEvent = dlsym (widgetDL, "handleEvent");
- widget->setBDMWidget = dlsym (widgetDL, "setBDMWidget");
widget->images = widget->getImages ();
widget->texts = widget->getTexts ();
@@ -234,8 +233,7 @@ static int loadWidget (char * path)
widget->prev->next = widget;
widget->next = NULL;
- widget->initWidget ();
- widget->setBDMWidget (widget);
+ widget->initWidget (widget);
Widgets = g_slist_append (Widgets, widget);