summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-05-30 21:42:13 +0200
committerGravatar waker <wakeroid@gmail.com>2012-05-30 21:42:13 +0200
commit2b90261fad9288df60d4a215083eb16c7818102f (patch)
treefa6ccba8e9116d8e88ee423af3f307fdf4fd4426 /deadbeef.h
parent64be2fcd81d26135f6b3e6bbbdf8c6785e6e9c0f (diff)
gtkui: run_dialog now supports specifying parent window
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 8775bf6d..6d797fe0 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -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