diff --git a/gdk/gdkmarshalers.list b/gdk/gdkmarshalers.list index 1281c143b2..953533e466 100644 --- a/gdk/gdkmarshalers.list +++ b/gdk/gdkmarshalers.list @@ -1,2 +1,4 @@ +BOOLEAN:BOXED +BOOLEAN:OBJECT BOOLEAN:POINTER VOID:POINTER,POINTER,BOOLEAN,BOOLEAN diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index b755c27a5c..2ad20b169b 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -367,10 +367,13 @@ gdk_surface_class_init (GdkSurfaceClass *klass) 0, g_signal_accumulator_true_handled, NULL, - NULL, + _gdk_marshal_BOOLEAN__BOXED, G_TYPE_BOOLEAN, 1, CAIRO_GOBJECT_TYPE_REGION); + g_signal_set_va_marshaller (signals[RENDER], + G_OBJECT_CLASS_TYPE (object_class), + _gdk_marshal_BOOLEAN__BOXEDv); /** * GdkSurface::event: @@ -388,10 +391,13 @@ gdk_surface_class_init (GdkSurfaceClass *klass) 0, g_signal_accumulator_true_handled, NULL, - NULL, + _gdk_marshal_BOOLEAN__OBJECT, G_TYPE_BOOLEAN, 1, GDK_TYPE_EVENT); + g_signal_set_va_marshaller (signals[EVENT], + G_OBJECT_CLASS_TYPE (object_class), + _gdk_marshal_BOOLEAN__OBJECTv); } static void