[gnome-builder/wip/gtk4-port] libide/gtk: propagate insert-text from delegate



commit e36ab6b1350b6b9900457957fd8cb4cf68f81288
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jun 1 19:19:22 2022 -0700

    libide/gtk: propagate insert-text from delegate
    
    Or we won't ever actually activate anything.

 src/libide/gtk/ide-entry-popover.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gtk/ide-entry-popover.c b/src/libide/gtk/ide-entry-popover.c
index c0b61299d..446dc936b 100644
--- a/src/libide/gtk/ide-entry-popover.c
+++ b/src/libide/gtk/ide-entry-popover.c
@@ -403,7 +403,7 @@ ide_entry_popover_init (IdeEntryPopover *self)
                            self,
                            G_CONNECT_SWAPPED);
 
-  g_signal_connect_object (priv->entry,
+  g_signal_connect_object (gtk_editable_get_delegate (GTK_EDITABLE (priv->entry)),
                            "insert-text",
                            G_CALLBACK (ide_entry_popover_entry_insert_text),
                            self,


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