[gnome-builder] editor: cleanup some warnings



commit f8780209a2af181d7b030feff1ccdbeb99732977
Author: Christian Hergert <christian hergert me>
Date:   Fri Nov 21 04:08:01 2014 -0800

    editor: cleanup some warnings

 src/editor/gb-editor-code-assistant.c |    2 +-
 src/editor/gb-editor-commands.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/editor/gb-editor-code-assistant.c b/src/editor/gb-editor-code-assistant.c
index c8ed7f4..0fffff0 100644
--- a/src/editor/gb-editor-code-assistant.c
+++ b/src/editor/gb-editor-code-assistant.c
@@ -662,7 +662,7 @@ service_proxy_new_cb (GObject      *source_object,
 
   if (!service)
     {
-      g_message ("%s\n", error->message);
+      g_message ("%s", error->message);
       g_clear_error (&error);
       GOTO (cleanup);
     }
diff --git a/src/editor/gb-editor-commands.c b/src/editor/gb-editor-commands.c
index 837e99c..4828006 100644
--- a/src/editor/gb-editor-commands.c
+++ b/src/editor/gb-editor-commands.c
@@ -377,7 +377,7 @@ on_load_cb (GtkSourceFileLoader *loader,
       /*
        * TODO: Propagate error to tab.
        */
-      g_warning ("%s", error->message);
+      g_warning ("%s (): %s", G_STRFUNC, error->message);
       g_clear_error (&error);
     }
 


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