[almanah] core: Remove spurious debug messages
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [almanah] core: Remove spurious debug messages
- Date: Mon, 18 Apr 2011 17:33:05 +0000 (UTC)
commit fbee37f024de85384bfedce2edd320548ec6acd0
Author: Philip Withnall <philip tecnocode co uk>
Date: Mon Apr 18 17:42:42 2011 +0100
core: Remove spurious debug messages
src/application.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/application.c b/src/application.c
index 023c085..89a6dc3 100644
--- a/src/application.c
+++ b/src/application.c
@@ -179,7 +179,7 @@ startup (GApplication *application)
AlmanahApplicationPrivate *priv = ALMANAH_APPLICATION (application)->priv;
gchar *db_filename, *encryption_key;
GError *error = NULL;
-g_message ("startup");
+
/* Debug log handling */
g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, (GLogFunc) debug_handler, application);
@@ -218,7 +218,7 @@ activate (GApplication *application)
{
AlmanahApplication *self = ALMANAH_APPLICATION (application);
AlmanahApplicationPrivate *priv = self->priv;
-g_message ("activate");
+
/* Create the interface */
if (priv->main_window == NULL) {
priv->main_window = almanah_main_window_new (self);
@@ -242,7 +242,7 @@ handle_command_line (GApplication *application, GApplicationCommandLine *command
{ "debug", 0, 0, G_OPTION_ARG_NONE, &(priv->debug), N_("Enable debug mode"), NULL },
{ NULL }
};
-g_message ("handle_command_line");
+
args = g_application_command_line_get_arguments (command_line, &argc);
/* We have to make an extra copy of the array, since g_option_context_parse() assumes that it can remove strings from the array without
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]