summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkui/gtkui.c4
-rw-r--r--plugins/gtkui/gtkui_api.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index b8e9acc1..14ddf57d 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -1612,8 +1612,8 @@ static const char settings_dlg[] =
static ddb_gtkui_t plugin = {
.gui.plugin.api_vmajor = 1,
.gui.plugin.api_vminor = 5,
- .gui.plugin.version_major = 2,
- .gui.plugin.version_minor = 0,
+ .gui.plugin.version_major = DDB_GTKUI_API_VERSION_MAJOR,
+ .gui.plugin.version_minor = DDB_GTKUI_API_VERSION_MINOR,
.gui.plugin.type = DB_PLUGIN_GUI,
.gui.plugin.id = DDB_GTKUI_PLUGIN_ID,
#if GTK_CHECK_VERSION(3,0,0)
diff --git a/plugins/gtkui/gtkui_api.h b/plugins/gtkui/gtkui_api.h
index d4a05b24..e57d99a3 100644
--- a/plugins/gtkui/gtkui_api.h
+++ b/plugins/gtkui/gtkui_api.h
@@ -43,6 +43,9 @@
#define DDB_GTKUI_PLUGIN_ID "gtkui_1"
#endif
+#define DDB_GTKUI_API_VERSION_MAJOR 2
+#define DDB_GTKUI_API_VERSION_MINOR 0
+
// this flag tells that the widget should be added to h/vboxes with expand=FALSE
#define DDB_GTKUI_WIDGET_FLAG_NON_EXPANDABLE 0x00000001