mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
docs: don't refer to TOPLEVEL flag
This commit is contained in:
parent
0d93930749
commit
b1c31af18f
@ -10770,8 +10770,8 @@ gtk_widget_add_device_events (GtkWidget *widget,
|
||||
* inside a #GtkSocket within the same application.
|
||||
*
|
||||
* To reliably find the toplevel #GtkWindow, use
|
||||
* gtk_widget_get_toplevel() and check if the %TOPLEVEL flags
|
||||
* is set on the result.
|
||||
* gtk_widget_get_toplevel() and call gtk_widget_is_toplevel()
|
||||
* on the result.
|
||||
* |[
|
||||
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
|
||||
* if (gtk_widget_is_toplevel (toplevel))
|
||||
|
Loading…
Reference in New Issue
Block a user