docs: don't refer to TOPLEVEL flag

This commit is contained in:
William Jon McCann 2014-01-21 16:09:06 -05:00
parent 0d93930749
commit b1c31af18f

View File

@ -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))