From 31cc337f6488c59322882656510c4ef079e7891d Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 27 Oct 2013 10:29:56 +0100 Subject: deadbeef.h: documented connect behavior --- deadbeef.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deadbeef.h b/deadbeef.h index 1baf7bca..6a12cc2c 100644 --- a/deadbeef.h +++ b/deadbeef.h @@ -916,6 +916,9 @@ typedef struct DB_plugin_s { // connect is called to setup connections between different plugins // it is called after all plugin's start method was executed // can be NULL + // NOTE for GUI plugin developers: don't initialize your widgets/windows in + // the connect method. look for up-to-date information on wiki: + // http://sourceforge.net/apps/mediawiki/deadbeef/index.php?title=Porting_GUI_plugins_to_0.6 int (*connect) (void); // opposite of connect, will be called before stop, while all plugins are still -- cgit v1.2.3