[gnome-builder] build-result: set G_SIGNAL_TYPE_STATIC_SCOPE for string param



commit c19b5c34c74fb74ae88900f8b4fb5ac6e6c9fccd
Author: Christian Hergert <chergert redhat com>
Date:   Sun Oct 16 18:07:37 2016 -0700

    build-result: set G_SIGNAL_TYPE_STATIC_SCOPE for string param
    
    We don't need copies for this parameter.

 libide/buildsystem/ide-build-result.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libide/buildsystem/ide-build-result.c b/libide/buildsystem/ide-build-result.c
index ea45ceb..7b57946 100644
--- a/libide/buildsystem/ide-build-result.c
+++ b/libide/buildsystem/ide-build-result.c
@@ -640,7 +640,10 @@ ide_build_result_class_init (IdeBuildResultClass *klass)
                   G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (IdeBuildResultClass, log),
                   NULL, NULL, NULL,
-                  G_TYPE_NONE, 2, IDE_TYPE_BUILD_RESULT_LOG, G_TYPE_STRING);
+                  G_TYPE_NONE,
+                  2,
+                  IDE_TYPE_BUILD_RESULT_LOG,
+                  G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE);
 }
 
 static void


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