mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Add a note about reflexive ancestry. (#99085, Frederic Lespez)
* gtk/gtkwidget.c (gtk_widget_get_ancestor): Add a note about reflexive ancestry. (#99085, Frederic Lespez)
This commit is contained in:
parent
dd6b66bff9
commit
6bcfec7d68
@ -1,5 +1,8 @@
|
||||
2002-11-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_ancestor): Add a note about
|
||||
reflexive ancestry. (#99085, Frederic Lespez)
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml:
|
||||
* examples/calendar/calendar.c: Numerous fixes to the calendar
|
||||
example. (#97956, Owen Taylor)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2002-11-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_ancestor): Add a note about
|
||||
reflexive ancestry. (#99085, Frederic Lespez)
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml:
|
||||
* examples/calendar/calendar.c: Numerous fixes to the calendar
|
||||
example. (#97956, Owen Taylor)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2002-11-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_ancestor): Add a note about
|
||||
reflexive ancestry. (#99085, Frederic Lespez)
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml:
|
||||
* examples/calendar/calendar.c: Numerous fixes to the calendar
|
||||
example. (#97956, Owen Taylor)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2002-11-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_ancestor): Add a note about
|
||||
reflexive ancestry. (#99085, Frederic Lespez)
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml:
|
||||
* examples/calendar/calendar.c: Numerous fixes to the calendar
|
||||
example. (#97956, Owen Taylor)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2002-11-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_ancestor): Add a note about
|
||||
reflexive ancestry. (#99085, Frederic Lespez)
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml:
|
||||
* examples/calendar/calendar.c: Numerous fixes to the calendar
|
||||
example. (#97956, Owen Taylor)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2002-11-21 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_ancestor): Add a note about
|
||||
reflexive ancestry. (#99085, Frederic Lespez)
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml:
|
||||
* examples/calendar/calendar.c: Numerous fixes to the calendar
|
||||
example. (#97956, Owen Taylor)
|
||||
|
@ -1652,8 +1652,6 @@ gtk_widget_destroyed (GtkWidget *widget,
|
||||
void
|
||||
gtk_widget_show (GtkWidget *widget)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||
|
||||
if (!GTK_WIDGET_VISIBLE (widget))
|
||||
{
|
||||
g_object_ref (widget);
|
||||
@ -5350,6 +5348,9 @@ gtk_widget_get_toplevel (GtkWidget *widget)
|
||||
* it should not be unreferenced. See note about checking for a toplevel
|
||||
* #GtkWindow in the docs for gtk_widget_get_toplevel().
|
||||
*
|
||||
* Note that unlike gtk_widget_is_ancestor(), gtk_widget_get_ancestor()
|
||||
* considers @widget to be an ancestor of itself.
|
||||
*
|
||||
* Return value: the ancestor widget, or %NULL if not found
|
||||
**/
|
||||
GtkWidget*
|
||||
|
Loading…
Reference in New Issue
Block a user