]> spindle.queued.net Git - midori/commitdiff
If "marshal" says OBJECT use G_TYPE_OBJECT instead of _POINTER
authorAndré Stösel <andre@stoesel.de>
Tue, 18 Sep 2012 20:20:22 +0000 (22:20 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 19 Sep 2012 17:02:33 +0000 (19:02 +0200)
This fixes a crash in a full debug build.

midori/midori-browser.c

index cec7517c998452ab7484f648ab6a2ef07e1cd217..12da322ee77b4b41506e60d94b2ab05ab7c6422e 100644 (file)
@@ -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",