diff options
author | waker <wakeroid@gmail.com> | 2012-05-30 21:42:13 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-05-30 21:42:13 +0200 |
commit | 2b90261fad9288df60d4a215083eb16c7818102f (patch) | |
tree | fa6ccba8e9116d8e88ee423af3f307fdf4fd4426 /deadbeef.h | |
parent | 64be2fcd81d26135f6b3e6bbbdf8c6785e6e9c0f (diff) |
gtkui: run_dialog now supports specifying parent window
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1129,9 +1129,12 @@ enum { typedef struct DB_gui_s { DB_plugin_t plugin; + // obsolete, don't use + int (*run_dialog_1) (ddb_dialog_t *dlg, uint32_t buttons, int (*callback)(int button, void *ctx), void *ctx); + // returns response code (ddb_button_*) // buttons is a bitset, e.g. (1<<ddb_button_ok)|(1<<ddb_button_cancel) - int (*run_dialog) (ddb_dialog_t *dlg, uint32_t buttons, int (*callback)(int button, void *ctx), void *ctx); + int (*run_dialog) (void *parentwindow, ddb_dialog_t *dlg, uint32_t buttons, int (*callback)(int button, void *ctx), void *ctx); } DB_gui_t; // playlist plugin |