[gedit/wip/loader-saver: 54/54] tab: debug messages



commit 165aa1633f3f32302275ea6be8e8b2c50bc78f4a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Jul 1 00:02:14 2014 +0200

    tab: debug messages

 gedit/gedit-tab.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index 5b57ef6..41899de 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -1707,8 +1707,7 @@ load_cb (GtkSourceFileLoader *loader,
 
        if (error != NULL)
        {
-               /* TODO remove when no longer needed. */
-               g_warning ("File loading error: %s", error->message);
+               gedit_debug_message (DEBUG_TAB, "File loading error: %s", error->message);
        }
 
        if (tab->priv->timer != NULL)
@@ -2156,8 +2155,7 @@ save_cb (GtkSourceFileSaver *saver,
 
        if (error != NULL)
        {
-               /* TODO remove when no longer needed. */
-               g_warning ("File saving error: %s", error->message);
+               gedit_debug_message (DEBUG_TAB, "File saving error: %s", error->message);
        }
 
        if (tab->priv->timer != NULL)


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