[gedit] Remove line_column_position command line option



commit 94bc598b3234c43f517ffee511b3289da88c0fdc
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sun May 2 13:19:58 2010 +0200

    Remove line_column_position command line option
    
    It's not really a command line option, but something that is parsed
    from the remaining arguments

 gedit/gedit.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gedit/gedit.c b/gedit/gedit.c
index 3f2114d..4956208 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -93,7 +93,6 @@ static BaconMessageConnection *connection;
 /* command line */
 static gint line_position = 0;
 static gint column_position = 0;
-static gchar *line_column_position = NULL;
 static gchar *encoding_charset = NULL;
 static gboolean new_window_option = FALSE;
 static gboolean new_document_option = FALSE;
@@ -141,11 +140,8 @@ static const GOptionEntry options [] =
 	{ "new-document", '\0', 0, G_OPTION_ARG_NONE, &new_document_option,
 	  N_("Create a new document in an existing instance of gedit"), NULL },
 
-	{ "+LINE[:COLUMN]", '\0', 0, G_OPTION_ARG_NONE, &line_column_position,
-	  N_("Move cursor to LINE, COLUMN"), NULL },
-
 	{ G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, &remaining_args,
-	  NULL, N_("[FILE...]") }, /* collects file arguments */
+	  NULL, N_("[FILE...] [+LINE[:COLUMN]]") }, /* collects file arguments */
 
 	{NULL}
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]