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. * inside a #GtkSocket within the same application.
* *
* To reliably find the toplevel #GtkWindow, use * To reliably find the toplevel #GtkWindow, use
* gtk_widget_get_toplevel() and check if the %TOPLEVEL flags * gtk_widget_get_toplevel() and call gtk_widget_is_toplevel()
* is set on the result. * on the result.
* |[ * |[
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget); * GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
* if (gtk_widget_is_toplevel (toplevel)) * if (gtk_widget_is_toplevel (toplevel))