[gnome-builder] vcs: set changed marshaller to specific implementation



commit c7413079d38a388f92f4af4037f60b88fc9bcb8d
Author: Christian Hergert <chergert redhat com>
Date:   Tue Dec 19 16:21:46 2017 -0800

    vcs: set changed marshaller to specific implementation
    
    We don't need to use the generic marshaller here.

 src/libide/vcs/ide-vcs.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/libide/vcs/ide-vcs.c b/src/libide/vcs/ide-vcs.c
index 225a936..0ac81a5 100644
--- a/src/libide/vcs/ide-vcs.c
+++ b/src/libide/vcs/ide-vcs.c
@@ -114,7 +114,13 @@ ide_vcs_default_init (IdeVcsInterface *iface)
                   G_TYPE_FROM_INTERFACE (iface),
                   G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (IdeVcsInterface, changed),
-                  NULL, NULL, NULL, G_TYPE_NONE, 0);
+                  NULL, NULL,
+                  g_cclosure_marshal_VOID__VOID,
+                  G_TYPE_NONE, 0);
+  g_signal_set_va_marshaller (signals [CHANGED],
+                              G_TYPE_FROM_INTERFACE (iface),
+                              g_cclosure_marshal_VOID__VOIDv);
+
 
   /* Ignore Gio temporary files */
   ide_vcs_register_ignored (".goutputstream-*");


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