[nautilus/wip/ernestask/gtk4-continued: 69/193] canvas-container: Fix signal parameter types
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/ernestask/gtk4-continued: 69/193] canvas-container: Fix signal parameter types
- Date: Sat, 9 Feb 2019 15:50:20 +0000 (UTC)
commit 39f740490878b68de8fb0cee2e838c1a555c8dd2
Author: Ernestas Kulik <ernestask gnome org>
Date: Fri Jun 22 14:10:15 2018 +0300
canvas-container: Fix signal parameter types
Currently, G_TYPE_POINTER is used, but GdkEvent defines a type of its
own.
src/nautilus-canvas-container.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-canvas-container.c b/src/nautilus-canvas-container.c
index 94d4d09d3..b842d14df 100644
--- a/src/nautilus-canvas-container.c
+++ b/src/nautilus-canvas-container.c
@@ -3856,9 +3856,9 @@ nautilus_canvas_container_class_init (NautilusCanvasContainerClass *class)
G_STRUCT_OFFSET (NautilusCanvasContainerClass,
context_click_selection),
NULL, NULL,
- g_cclosure_marshal_VOID__POINTER,
+ g_cclosure_marshal_generic,
G_TYPE_NONE, 1,
- G_TYPE_POINTER);
+ GDK_TYPE_EVENT);
signals[CONTEXT_CLICK_BACKGROUND]
= g_signal_new ("context-click-background",
G_TYPE_FROM_CLASS (class),
@@ -3866,9 +3866,9 @@ nautilus_canvas_container_class_init (NautilusCanvasContainerClass *class)
G_STRUCT_OFFSET (NautilusCanvasContainerClass,
context_click_background),
NULL, NULL,
- g_cclosure_marshal_VOID__POINTER,
+ g_cclosure_marshal_generic,
G_TYPE_NONE, 1,
- G_TYPE_POINTER);
+ GDK_TYPE_EVENT);
signals[MIDDLE_CLICK]
= g_signal_new ("middle-click",
G_TYPE_FROM_CLASS (class),
@@ -3878,7 +3878,7 @@ nautilus_canvas_container_class_init (NautilusCanvasContainerClass *class)
NULL, NULL,
g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1,
- G_TYPE_POINTER);
+ GDK_TYPE_EVENT);
signals[GET_ICON_URI]
= g_signal_new ("get-icon-uri",
G_TYPE_FROM_CLASS (class),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]