diff options
author | waker <wakeroid@gmail.com> | 2012-06-04 08:50:26 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-06-04 08:50:26 +0200 |
commit | d23b8dd63bd2821dd1a4103504af143495dc0ae1 (patch) | |
tree | 285a715089f7ecf61f410ce858044b8b9b740bb2 /plugins/gtkui/pluginconf.c | |
parent | 4a41e6c82b0ec65a170fcd9e4ba9284d72566199 (diff) |
fixed accidental API break caused by run_dialog
Diffstat (limited to 'plugins/gtkui/pluginconf.c')
-rw-r--r-- | plugins/gtkui/pluginconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/pluginconf.c b/plugins/gtkui/pluginconf.c index cdd646cc..33532f67 100644 --- a/plugins/gtkui/pluginconf.c +++ b/plugins/gtkui/pluginconf.c @@ -534,5 +534,5 @@ gtkui_run_dialog (GtkWidget *parentwin, ddb_dialog_t *conf, uint32_t buttons, in int gtkui_run_dialog_root (ddb_dialog_t *conf, uint32_t buttons, int (*callback)(int button, void *ctx), void *ctx) { - return gtkui_run_dialog (mainwin, conf, buttons, callback, ctx); + return gtkui_run_dialog (conf->parent ? conf->parent : mainwin, conf, buttons, callback, ctx); } |