[gtk+] Some small doc corrections
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Some small doc corrections
- Date: Thu, 23 Dec 2010 16:19:10 +0000 (UTC)
commit 3a6800a898d5fb48f0838ebb258a6c52257cd257
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 23 11:18:50 2010 -0500
Some small doc corrections
gtk/gtkwidget.c | 8 +++++---
gtk/gtkwindow.c | 4 ++--
2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 07f360c..5b64d5e 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -7145,9 +7145,11 @@ gtk_widget_get_has_window (GtkWidget *widget)
* gtk_widget_is_toplevel:
* @widget: a #GtkWidget
*
- * Determines whether @widget is a toplevel widget. Currently only
- * #GtkWindow and #GtkInvisible are toplevel widgets. Toplevel
- * widgets have no parent widget.
+ * Determines whether @widget is a toplevel widget.
+ *
+ * Currently only #GtkWindow and #GtkInvisible (and out-of-process
+ * #GtkPlugs) are toplevel widgets. Toplevel widgets have no parent
+ * widget.
*
* Return value: %TRUE if @widget is a toplevel, %FALSE otherwise
*
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 2723c42..94d6bbf 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -3147,7 +3147,7 @@ gtk_window_set_geometry_hints (GtkWindow *window,
* using this function, GTK+ will do its best to convince the window
* manager not to decorate the window. Depending on the system, this
* function may not have any effect when called on a window that is
- * already visible, so you should call it before calling gtk_window_show().
+ * already visible, so you should call it before calling gtk_widget_show().
*
* On Windows, this function always works, since there's no window manager
* policy involved.
@@ -9482,7 +9482,7 @@ _gtk_window_set_is_active (GtkWindow *window,
* _gtk_window_set_is_toplevel:
* @window: a #GtkWindow
* @is_toplevel: %TRUE if the window is still a real toplevel (nominally a
- * parent of the root window); %FALSE if it is not (for example, for an
+ * child of the root window); %FALSE if it is not (for example, for an
* in-process, parented GtkPlug)
*
* Internal function used by #GtkPlug when it gets parented/unparented by a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]