summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-07 21:50:51 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-07 21:50:51 +0100
commit0ee3ad44f2514289feb3d7079ff0afc3d7e79802 (patch)
treeb59dc1d14248e0c065ee43c24529a2e3e8e924d8 /plugins
parent3de18efdd91724d6e728d7e1cfb7bc67d3c0f8c2 (diff)
gtkui: fixed versioning constants
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