[Xfce4-commits] [apps/xfdashboard] 01/01: Remove unneeded marshal functions and clean-up messages printed on application start-up.
noreply at xfce.org
noreply at xfce.org
Tue Apr 4 12:19:35 CEST 2017
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to branch master
in repository apps/xfdashboard.
commit 137bac53cac4b041717548d7f69aecb7cc43bb46
Author: Stephan Haller <nomad at froevel.de>
Date: Tue Apr 4 12:18:44 2017 +0200
Remove unneeded marshal functions and clean-up messages printed on application start-up.
---
libxfdashboard/application.c | 10 ++--------
libxfdashboard/marshal.list | 2 --
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/libxfdashboard/application.c b/libxfdashboard/application.c
index 734991e..7e731e9 100644
--- a/libxfdashboard/application.c
+++ b/libxfdashboard/application.c
@@ -591,15 +591,9 @@ static gint _xfdashboard_application_handle_command_line_arguments(XfdashboardAp
g_option_context_add_main_entries(context, entries, GETTEXT_PACKAGE);
#ifdef DEBUG
- /* I always forget the name of the environment variable to get the debug
- * message display which are emitted with g_debug(). So display a hint
- * if application was compiled with debug enabled.
- */
- g_print("** To get debug messages set environment variable G_MESSAGES_DEBUG to %s\n", PACKAGE_NAME);
- g_print("** e.g.: G_MESSAGES_DEBUG=%s %s\n", PACKAGE_NAME, inArgv[0]);
#ifdef XFDASHBOARD_ENABLE_DEBUG
- g_print("** Use environment variable XFDASHBOARD_DEBUG to enable debug messages also as G_MESSAGES_DEBUG=%s will be deprecated\n",
- PACKAGE_NAME);
+ g_print("** Use environment variable XFDASHBOARD_DEBUG to enable debug messages\n");
+ g_print("** To get a list of debug categories set XFDASHBOARD_DEBUG=help\n");
#endif
#endif
diff --git a/libxfdashboard/marshal.list b/libxfdashboard/marshal.list
index 0120dfc..2f2aa5f 100644
--- a/libxfdashboard/marshal.list
+++ b/libxfdashboard/marshal.list
@@ -1,6 +1,5 @@
VOID:FLOAT,FLOAT
VOID:INT,INT
-VOID:INT,INT,INT,INT
VOID:OBJECT,OBJECT
VOID:OBJECT,FLOAT,FLOAT
VOID:OBJECT,OBJECT,OBJECT
@@ -9,5 +8,4 @@ BOOLEAN:OBJECT
BOOLEAN:OBJECT,ENUM
BOOLEAN:OBJECT,FLOAT,FLOAT
BOOLEAN:OBJECT,STRING,OBJECT
-BOOLEAN:VOID
OBJECT:VOID
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list