[gedit] Build fails without X
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Build fails without X
- Date: Fri, 2 Jul 2010 19:17:48 +0000 (UTC)
commit 3b26258325b69c034b486fbdd12aa7d60b379cf6
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Fri Jul 2 21:17:00 2010 +0200
Build fails without X
Thanks to Matthias Clasen for pointing out how to fix it.
gedit/gedit-command-line.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-command-line.c b/gedit/gedit-command-line.c
index db052a2..3134403 100644
--- a/gedit/gedit-command-line.c
+++ b/gedit/gedit-command-line.c
@@ -335,15 +335,13 @@ gedit_command_line_parse (GeditCommandLine *command_line,
/* Setup command line options */
context = g_option_context_new (_("- Edit text files"));
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
- g_option_context_add_group (context, gtk_get_option_group (FALSE));
+ g_option_context_add_group (context, gtk_get_option_group (TRUE));
g_option_context_add_group (context, egg_sm_client_get_option_group ());
#ifdef ENABLE_INTROSPECTION
g_option_context_add_group (context, g_irepository_get_option_group ());
#endif
- gtk_init (argc, argv);
-
if (!g_option_context_parse (context, argc, argv, &error))
{
g_print(_("%s\nRun '%s --help' to see a full list of available command line options.\n"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]