summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkui_api.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-27 21:07:06 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-27 21:07:06 +0100
commit5ce9eda4aefefdb70ae3f716db1379e1ab44c6f3 (patch)
treef4fc0d51cf562e1fb26d7eb529a76d5497a80e8f /plugins/gtkui/gtkui_api.h
parentf28a376ee798288fb8cfc42e8ae723a648f8eb68 (diff)
gtkui: api and doc fixes
Diffstat (limited to 'plugins/gtkui/gtkui_api.h')
-rw-r--r--plugins/gtkui/gtkui_api.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/gtkui/gtkui_api.h b/plugins/gtkui/gtkui_api.h
index 789a674a..bb432d79 100644
--- a/plugins/gtkui/gtkui_api.h
+++ b/plugins/gtkui/gtkui_api.h
@@ -25,17 +25,18 @@
#ifndef __GTKUI_API_H
#define __GTKUI_API_H
-// the DDB_GTKUI_API_VERSION was introduced in deadbeef-0.6.0.
+// gtkui.version_major=2 corresponds to deadbeef 0.6
// this is the version which has added design mode.
-// gtkui plugin has been renamed into gtkui_1, to avoid loading broken plugins
-// please DON'T simply patch your plugin to load gtkui_1 instead of gtkui
+// it's guaranteed that the API will remain backwards compatible
+// in minor releases (2.x)
+
+// gtkui plugin id has been changed to gtkui_1, to avoid loading broken plugins.
+// please DON'T simply patch your plugin to load gtkui_1 instead of gtkui.
// for information, about how to port your plugin to the new API correctly,
// and to learn more about design mode programming,
// please visit the following page:
// http://sourceforge.net/apps/mediawiki/deadbeef/index.php?title=Porting_GUI_plugins_to_0.6
-#define DDB_GTKUI_API_VERSION 1
-
#if GTK_CHECK_VERSION(3,0,0)
#define DDB_GTKUI_PLUGIN_ID "gtkui3_1"
#else