[gnome-builder] vala: we should not be passing non-literals to g_warning()



commit 7b93c46420181772f8723c8d3e0eec0ab0dcadb9
Author: Christian Hergert <chergert redhat com>
Date:   Sun Apr 17 07:19:27 2016 -0700

    vala: we should not be passing non-literals to g_warning()

 plugins/vala-pack/ide-vala-service.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-service.vala b/plugins/vala-pack/ide-vala-service.vala
index e05f1cc..51c7d56 100644
--- a/plugins/vala-pack/ide-vala-service.vala
+++ b/plugins/vala-pack/ide-vala-service.vala
@@ -81,7 +81,7 @@ namespace Ide
                                        load_directory (child, cancellable, files);
                                }
                        } catch (GLib.Error err) {
-                               warning ("%s".printf (err.message));
+                               warning ("%s", err.message);
                        }
                }
        }


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