[Xfce4-commits] <midori:master> If "marshal" says OBJECT use G_TYPE_OBJECT instead of _POINTER

Christian Dywan noreply at xfce.org
Wed Sep 19 19:04:01 CEST 2012


Updating branch refs/heads/master
         to 5f8cd5c12de104de06ea66275a303773ab70c421 (commit)
       from b8f2e25698ee0d2630144a692b3d244b027abc50 (commit)

commit 5f8cd5c12de104de06ea66275a303773ab70c421
Author: André Stösel <andre at stoesel.de>
Date:   Tue Sep 18 22:20:22 2012 +0200

    If "marshal" says OBJECT use G_TYPE_OBJECT instead of _POINTER
    
    This fixes a crash in a full debug build.

 midori/midori-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index cec7517..12da322 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -1905,7 +1905,7 @@ midori_browser_class_init (MidoriBrowserClass* class)
         NULL,
         midori_cclosure_marshal_VOID__OBJECT_OBJECT,
         G_TYPE_NONE, 2,
-        G_TYPE_POINTER, G_TYPE_POINTER);
+        G_TYPE_OBJECT, G_TYPE_OBJECT);
 
     signals[ACTIVATE_ACTION] = g_signal_new (
         "activate-action",


More information about the Xfce4-commits mailing list