[gedit: 17/17] Remove -b/--background option



commit 85ad6b0157f419f951e4659e4e78fb00a1a7c483
Author: Paolo Borelli <pborelli gnome org>
Date:   Fri Dec 28 19:47:26 2012 +0100

    Remove -b/--background option
    
    For now we will not implement this with GApplication (it would need to
    split the app in a service etc)

 data/gedit.1      |    5 -----
 gedit/gedit-app.c |   10 ----------
 2 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/data/gedit.1 b/data/gedit.1
index e7bdc54..b80cfa5 100644
--- a/data/gedit.1
+++ b/data/gedit.1
@@ -28,11 +28,6 @@ itself.
 .SH OPTIONS
         
 .TP
-\fB\-b, \-\-background\fR
-Run
-.B gedit
-in the background.
-.TP
 \fB\-\-encoding\fR
 Set the character encoding to be used for opening the files listed on the command line.
 .TP
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index 59bcbb8..2159862 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -96,7 +96,6 @@ static gboolean new_window = FALSE;
 static gboolean new_document = FALSE;
 static gchar *geometry = NULL;
 static gboolean wait = FALSE;
-static gboolean background = FALSE;
 static gboolean standalone = FALSE;
 static gchar **remaining_args = NULL;
 static const GeditEncoding *encoding = NULL;
@@ -167,14 +166,6 @@ static const GOptionEntry options[] =
 		NULL
 	},
 
-	/* Run in the background */
-	{
-		"background", 'b', 0, G_OPTION_ARG_NONE,
-		&background,
-		N_("Run gedit in the background"),
-		NULL
-	},
-
 	/* New instance */
 	{
 		"standalone", 's', 0, G_OPTION_ARG_NONE,
@@ -654,7 +645,6 @@ clear_options (void)
 	new_document = FALSE;
 	geometry = NULL;
 	wait = FALSE;
-	background = FALSE;
 	standalone = FALSE;
 	remaining_args = NULL;
 	encoding = NULL;



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