[gtk-vnc] connection: use boxed type for pixel-format-changed



commit 80af18b8794d36ff2ae1a820495d86ce6e75ebac
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Mon Apr 5 12:16:16 2021 +0400

    connection: use boxed type for pixel-format-changed
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 src/vncconnection.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vncconnection.c b/src/vncconnection.c
index dcc27ff..8072112 100644
--- a/src/vncconnection.c
+++ b/src/vncconnection.c
@@ -5313,10 +5313,10 @@ static void vnc_connection_class_init(VncConnectionClass *klass)
                       G_SIGNAL_RUN_FIRST,
                       G_STRUCT_OFFSET (VncConnectionClass, vnc_pixel_format_changed),
                       NULL, NULL,
-                      g_cclosure_marshal_VOID__POINTER,
+                      g_cclosure_marshal_VOID__BOXED,
                       G_TYPE_NONE,
                       1,
-                      G_TYPE_POINTER);
+                      VNC_TYPE_PIXEL_FORMAT);
 
     signals[VNC_LED_STATE] =
         g_signal_new ("vnc-led-state",


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