[gtk+] Use direct GValue access in our marshallers



commit de70ad6c3b5386d7c171ce1fbd935936328dfe97
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 29 09:42:02 2015 -0400

    Use direct GValue access in our marshallers
    
    These are used for every signal emission, so we should
    make them as fast as we can.

 gtk/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 4236f22..801c3a5 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1126,6 +1126,7 @@ stamp-gtkmarshalers.h: gtkmarshalers.list
        && echo timestamp > $(@F)
 gtkmarshalers.c: gtkmarshalers.list
        $(AM_V_GEN) (echo "#include \"gtkmarshalers.h\""; \
+        echo "#undef G_ENABLE_DEBUG"; \
         $(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/gtkmarshalers.list --body  --valist-marshallers) 
xgen-gmlc \
        && cp xgen-gmlc gtkmarshalers.c \
        && rm -f xgen-gmlc


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