[gnome-flashback] main: remove debug option
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] main: remove debug option
- Date: Sat, 28 Dec 2019 19:11:44 +0000 (UTC)
commit b1a714a4fe8542ed0ad440d85bae256639cd35d1
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Dec 28 16:51:52 2019 +0200
main: remove debug option
gnome-flashback/gf-main.c | 10 ----------
1 file changed, 10 deletions(-)
---
diff --git a/gnome-flashback/gf-main.c b/gnome-flashback/gf-main.c
index 1e25524..92792d2 100644
--- a/gnome-flashback/gf-main.c
+++ b/gnome-flashback/gf-main.c
@@ -28,18 +28,11 @@
static GMainLoop *loop = NULL;
static GfApplication *application = NULL;
-static gboolean debug = FALSE;
static gboolean replace = FALSE;
static gboolean version = FALSE;
static GOptionEntry entries[] =
{
- {
- "debug", 0, G_OPTION_FLAG_NONE,
- G_OPTION_ARG_NONE, &debug,
- N_("Enable debugging code"),
- NULL
- },
{
"replace", 'r', G_OPTION_FLAG_NONE,
G_OPTION_ARG_NONE, &replace,
@@ -82,9 +75,6 @@ parse_arguments (int *argc,
return FALSE;
}
- if (debug)
- g_setenv ("G_MESSAGES_DEBUG", "all", FALSE);
-
g_option_context_free (context);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]