summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-23 11:18:50 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-23 11:18:50 -0500
commit3a6800a898d5fb48f0838ebb258a6c52257cd257 (patch)
tree33af29b5a0d7a1ce9f61159b140663228b4a8d06
parent1f9ce469061eb6a8b28f3dc66fb6743240850bdf (diff)
downloadgtk+-3a6800a898d5fb48f0838ebb258a6c52257cd257.tar.gz
Some small doc corrections
-rw-r--r--gtk/gtkwidget.c8
-rw-r--r--gtk/gtkwindow.c4
2 files changed, 7 insertions, 5 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 07f360c2fe..5b64d5ebd6 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 2723c42614..94d6bbfb61 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