From 03f32a222cbd8bbf76136a8fa80dff0d18a49ab7 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Thu, 4 Nov 2010 09:46:58 +0200 Subject: [PATCH] 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(). --- mediainfo/src/mi.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediainfo/src/mi.vala b/mediainfo/src/mi.vala index 26afa0a9d3..f5b14ef7f2 100644 --- a/mediainfo/src/mi.vala +++ b/mediainfo/src/mi.vala @@ -38,7 +38,7 @@ main(string[] args) opt_context.set_help_enabled (true); opt_context.add_main_entries (options, null); 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 { opt_context.parse (ref args); } catch (Error e) {