grafthistory: comment about downloading the pack index
[elinks/elinks-j605.git] / src / bfu / widget.c
blob620be057a2b695a8876aad986a9777a5b8aa81e7
1 /* Common widget functions. */
3 #ifdef HAVE_CONFIG_H
4 #include "config.h"
5 #endif
7 #include <string.h>
9 #include "elinks.h"
11 #include "bfu/dialog.h"
12 #include "bfu/inphist.h"
13 #include "bfu/widget.h"
14 #include "intl/gettext/libintl.h"
15 #include "terminal/terminal.h"
16 #include "util/error.h"
19 void
20 display_widget(struct dialog_data *dlg_data, struct widget_data *widget_data)
22 if (widget_data->widget->ops->display)
23 widget_data->widget->ops->display(dlg_data, widget_data);