[gtk/wip/chergert/textundo: 12/12] migration: add GtkEntryBuffer::deleted-text to migration guide



commit c07eb61b41b1bd56efb2db704420d8fd6bcd27af
Author: Christian Hergert <chergert redhat com>
Date:   Mon Nov 4 14:14:42 2019 -0800

    migration: add GtkEntryBuffer::deleted-text to migration guide

 docs/reference/gtk/migrating-3to4.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml
index 39a52e1f21..362619178e 100644
--- a/docs/reference/gtk/migrating-3to4.xml
+++ b/docs/reference/gtk/migrating-3to4.xml
@@ -813,6 +813,21 @@
       </para>
     </section>
 
+    <section>
+      <title>GtkEntryBuffer ::deleted-text has changed</title>
+      <para>
+        To allow signal handlers to access the deleted text before it
+        has been deleted #GtkEntryBuffer::deleted-text has changed from
+        %G_SIGNAL_RUN_FIRST to %G_SIGNAL_RUN_LAST. The default handler
+        removes the text from the #GtkEntryBuffer.
+      </para>
+      <para>
+        To adapt existing code, use g_signal_connect_after() or
+        %G_CONNECT_AFTER when using g_signal_connect_data() or
+        g_signal_connect_object().
+      </para>
+    </section>
+
   </section>
 
 </chapter>


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