--- tools/gen_scripts/../../gtk/src/gtk_signals.defs.orig	2026-02-01 14:33:23.121696035 +0100
+++ tools/gen_scripts/../../gtk/src/gtk_signals.defs	2026-02-01 14:33:23.169696638 +0100
@@ -2498,11 +2498,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")
@@ -2994,11 +2994,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")
   )
 )
@@ -3328,11 +3328,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")
@@ -3737,11 +3737,11 @@
 (define-signal drop
   (of-object "GtkDropTarget")
   (return-type "gboolean")
   (flags "Run Last")
   (parameters
-    '("GValue*" "p0")
+    '("const-GValue*" "p0")
     '("gdouble" "p1")
     '("gdouble" "p2")
   )
 )
 
@@ -4766,11 +4766,11 @@
 (define-signal event
   (of-object "GtkEventControllerLegacy")
   (return-type "gboolean")
   (flags "Run Last")
   (parameters
-    '("GdkEvent" "p0")
+    '("GdkEvent*" "p0")
   )
 )
 
 ;; From GtkEventControllerMotion
 
@@ -9551,11 +9551,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")
@@ -11577,38 +11577,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
 
@@ -11858,11 +11858,11 @@
 (define-signal input
   (of-object "GtkSpinButton")
   (return-type "gint")
   (flags "Run Last")
   (parameters
-    '("gpointer" "p0")
+    '("double*" "p0")
   )
 )
 
 (define-signal output
   (of-object "GtkSpinButton")
@@ -12688,11 +12688,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
@@ -12708,23 +12708,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")
@@ -14225,11 +14225,11 @@
   (return-type "void")
   (flags "Run First")
   (parameters
     '("GtkTreePath*" "p0")
     '("GtkTreeIter*" "p1")
-    '("gpointer" "p2")
+    '("gint*" "p2")
   )
 )
 
 ;; From GtkTreeListModel
 
