[gtk/matthiasc/for-master: 25/41] docs: Fix a typo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 25/41] docs: Fix a typo
- Date: Sun, 23 May 2021 00:56:50 +0000 (UTC)
commit 252edbdbc697fdb2a34dbd5ca60330a22e63dda2
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 22 13:51:24 2021 -0400
docs: Fix a typo
docs/reference/gtk/migrating-3to4.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md
index 4092ad721e..13e5427a3d 100644
--- a/docs/reference/gtk/migrating-3to4.md
+++ b/docs/reference/gtk/migrating-3to4.md
@@ -217,8 +217,8 @@ using `GMainContext` APIs. The replacement for `gtk_events_pending()` is
`g_main_context_pending()`, the replacement for `gtk_main_iteration()` is
`g_main_context_iteration()`.
-Here is a replacement that will iterate the default main loop until
-all windows have been closed:
+In GTK 4, you can use this replacement that will iterate the default main loop
+until all windows have been closed:
```
while (g_list_model_get_n_items (gtk_window_get_toplevels ()) > 0)
@@ -1215,7 +1215,7 @@ controller, [class@Gtk.DragSource]. Instead of calling `gtk_drag_source_set()`
and connecting to `GtkWidget` signals, you create a [class@Gtk.DragSource] object,
attach it to the widget with [method@Gtk.Widget.add_controller], and connect
to `GtkDragSource` signals. Instead of calling `gtk_drag_begin()` on a widget
-to start a drag manually, call [type_func Gdk Drag.begin].
+to start a drag manually, call [func Gdk Drag.begin].
The `::drag-data-get` signal has been replaced by the [signal@Gtk.DragSource::prepare]
signal, which returns a [class@Gdk.ContentProvider] for the drag operation.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]