--- tools/gen_scripts/../../gtk/src/gtk_signals.defs.orig	2026-06-07 15:45:58.837652910 +0200
+++ tools/gen_scripts/../../gtk/src/gtk_signals.defs	2026-06-07 19:08:51.993866816 +0200
@@ -572,11 +572,11 @@
   (of-object "GtkApplication")
   (return-type "void")
   (flags "Run First")
   (parameters
     '("GtkRestoreReason" "p0")
-    '("GVariant" "p1")
+    '("GVariant*" "p1")
   )
 )
 
 (define-signal save-state
   (of-object "GtkApplication")
@@ -591,11 +591,11 @@
   (of-object "GtkApplication")
   (return-type "gboolean")
   (flags "Run Last")
   (parameters
     '("GtkRestoreReason" "p0")
-    '("GVariant" "p1")
+    '("GVariant*" "p1")
   )
 )
 
 (define-property register-session
   (of-object "GtkApplication")
@@ -2567,11 +2567,11 @@
 (define-signal color-activated
   (of-object "GtkColorChooser")
   (return-type "void")
   (flags "Run First")
   (parameters
-    '("GdkRGBA*" "p0")
+    '("const-GdkRGBA*" "p0")
   )
 )
 
 (define-property rgba
   (of-object "GtkColorChooser")
@@ -3063,11 +3063,11 @@
   (flags "Run Last, Action")
 )
 
 (define-signal format-entry-text
   (of-object "GtkComboBox")
-  (return-type "const-gchar*")
+  (return-type "gchar*")
   (flags "Run Last")
   (parameters
     '("const-gchar*" "p0")
   )
 )
@@ -3397,11 +3397,11 @@
   (of-object "GtkCssProvider")
   (return-type "void")
   (flags "Run Last")
   (parameters
     '("GtkCssSection*" "p0")
-    '("GError*" "p1")
+    '("const-GError*" "p1")
   )
 )
 
 (define-property prefers-color-scheme
   (of-object "GtkCssProvider")
@@ -3806,11 +3806,11 @@
 (define-signal drop
   (of-object "GtkDropTarget")
   (return-type "gboolean")
   (flags "Run Last")
   (parameters
-    '("GValue*" "p0")
+    '("const-GValue*" "p0")
     '("gdouble" "p1")
     '("gdouble" "p2")
   )
 )
 
@@ -4907,11 +4907,11 @@
 (define-signal event
   (of-object "GtkEventControllerLegacy")
   (return-type "gboolean")
   (flags "Run Last")
   (parameters
-    '("GdkEvent" "p0")
+    '("GdkEvent*" "p0")
   )
 )
 
 ;; From GtkEventControllerMotion
 
@@ -9692,11 +9692,11 @@
   )
 )
 
 (define-signal create-custom-widget
   (of-object "GtkPrintOperation")
-  (return-type "GObject*")
+  (return-type "GtkWidget*")
   (flags "Run Last")
 )
 
 (define-signal update-custom-widget
   (of-object "GtkPrintOperation")
@@ -11728,38 +11728,38 @@
 (define-signal setup
   (of-object "GtkSignalListItemFactory")
   (return-type "void")
   (flags "Run First")
   (parameters
-    '("GObject*" "p0")
+    '("GtkListItem*" "p0")
   )
 )
 
 (define-signal bind
   (of-object "GtkSignalListItemFactory")
   (return-type "void")
   (flags "Run First")
   (parameters
-    '("GObject*" "p0")
+    '("GtkListItem*" "p0")
   )
 )
 
 (define-signal unbind
   (of-object "GtkSignalListItemFactory")
   (return-type "void")
   (flags "Run First")
   (parameters
-    '("GObject*" "p0")
+    '("GtkListItem*" "p0")
   )
 )
 
 (define-signal teardown
   (of-object "GtkSignalListItemFactory")
   (return-type "void")
   (flags "Run First")
   (parameters
-    '("GObject*" "p0")
+    '("GtkListItem*" "p0")
   )
 )
 
 ;; From GtkSingleSelection
 
@@ -12009,11 +12009,11 @@
 (define-signal input
   (of-object "GtkSpinButton")
   (return-type "gint")
   (flags "Run Last")
   (parameters
-    '("gpointer" "p0")
+    '("double*" "p0")
   )
 )
 
 (define-signal output
   (of-object "GtkSpinButton")
@@ -12908,11 +12908,11 @@
 (define-signal mark-set
   (of-object "GtkTextBuffer")
   (return-type "void")
   (flags "Run Last")
   (parameters
-    '("GtkTextIter*" "p0")
+    '("const-GtkTextIter*" "p0")
     '("GtkTextMark*" "p1")
   )
 )
 
 (define-signal mark-deleted
@@ -12928,23 +12928,23 @@
   (of-object "GtkTextBuffer")
   (return-type "void")
   (flags "Run Last")
   (parameters
     '("GtkTextTag*" "p0")
-    '("GtkTextIter*" "p1")
-    '("GtkTextIter*" "p2")
+    '("const-GtkTextIter*" "p1")
+    '("const-GtkTextIter*" "p2")
   )
 )
 
 (define-signal remove-tag
   (of-object "GtkTextBuffer")
   (return-type "void")
   (flags "Run Last")
   (parameters
     '("GtkTextTag*" "p0")
-    '("GtkTextIter*" "p1")
-    '("GtkTextIter*" "p2")
+    '("const-GtkTextIter*" "p1")
+    '("const-GtkTextIter*" "p2")
   )
 )
 
 (define-signal begin-user-action
   (of-object "GtkTextBuffer")
@@ -14445,11 +14445,11 @@
   (return-type "void")
   (flags "Run First")
   (parameters
     '("GtkTreePath*" "p0")
     '("GtkTreeIter*" "p1")
-    '("gpointer" "p2")
+    '("gint*" "p2")
   )
 )
 
 ;; From GtkTreeListModel
 
