mi: we need to open the default display
The ui was crashing otherwise. Opening the default display seems to be the default behaviour for gtk_init().
This commit is contained in:
parent
08701eba94
commit
03f32a222c
@ -38,7 +38,7 @@ main(string[] args)
|
|||||||
opt_context.set_help_enabled (true);
|
opt_context.set_help_enabled (true);
|
||||||
opt_context.add_main_entries (options, null);
|
opt_context.add_main_entries (options, null);
|
||||||
opt_context.add_group (Gst.init_get_option_group ());
|
opt_context.add_group (Gst.init_get_option_group ());
|
||||||
opt_context.add_group (Gtk.get_option_group (false));
|
opt_context.add_group (Gtk.get_option_group (true));
|
||||||
try {
|
try {
|
||||||
opt_context.parse (ref args);
|
opt_context.parse (ref args);
|
||||||
} catch (Error e) {
|
} catch (Error e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user