summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkclipboard.c3
-rw-r--r--gtk/gtkplug.c4
-rw-r--r--gtk/gtksocket.c10
3 files changed, 9 insertions, 8 deletions
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index b4dbba71fc..97d9ea9931 100644
--- a/gtk/gtkclipboard.c
+++ b/gtk/gtkclipboard.c
@@ -498,7 +498,8 @@ clipboard_unset (GtkClipboard *clipboard)
* @clipboard: a #GtkClipboard
*
* Clears the contents of the clipboard. Generally this should only
- * be called between the time you call gtk_clipboard_set_contents(),
+ * be called between the time you call gtk_clipboard_set_with_owner()
+ * or gtk_clipboard_set_with_data(),
* and when the @clear_func you supplied is called. Otherwise, the
* clipboard may be owned by someone else.
**/
diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c
index e8af9c5f05..74b4f2a12e 100644
--- a/gtk/gtkplug.c
+++ b/gtk/gtkplug.c
@@ -210,7 +210,7 @@ gtk_plug_set_is_child (GtkPlug *plug,
* @plug: a #GtkPlug
* @socket: a #GtkSocket
*
- * Add a plug to a socket within the same application.
+ * Adds a plug to a socket within the same application.
**/
void
_gtk_plug_add_to_socket (GtkPlug *plug,
@@ -244,7 +244,7 @@ _gtk_plug_add_to_socket (GtkPlug *plug,
* @plug: a #GtkPlug
* @socket: a #GtkSocket
*
- * Remove a plug from a socket within the same application.
+ * Removes a plug from a socket within the same application.
**/
void
_gtk_plug_remove_from_socket (GtkPlug *plug,
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c
index a4879c560f..6b33ddaa92 100644
--- a/gtk/gtksocket.c
+++ b/gtk/gtksocket.c
@@ -207,7 +207,7 @@ gtk_socket_new (void)
/**
* gtk_socket_steal:
* @socket: a #GtkSocket
- * @wid: the XID of an existing toplevel window.
+ * @wid: the window ID of an existing toplevel window.
*
* Reparents a pre-existing toplevel window into a #GtkSocket. This is
* meant to embed clients that do not know about embedding into a
@@ -232,14 +232,14 @@ gtk_socket_steal (GtkSocket *socket, GdkNativeWindow wid)
/**
* gtk_socket_add_id:
* @socket: a #GtkSocket
- * @window_id: the XID of a client participating in the XEMBED protocol.
+ * @window_id: the window ID of a client participating in the XEMBED protocol.
*
* Adds an XEMBED client, such as a #GtkPlug, to the #GtkSocket. The
* client may be in the same process or in a different process.
*
* To embed a #GtkPlug in a #GtkSocket, you can either create the
- * #GtkPlug with gtk_plug_new (0), call gtk_plug_get_id() to get the
- * window ID of the plug, and then pass that to the
+ * #GtkPlug with <literal>gtk_plug_new (0)</literal>, call
+ * gtk_plug_get_id() to get the window ID of the plug, and then pass that to the
* gtk_socket_add_id(), or you can call gtk_socket_get_id() to get the
* window ID for the socket, and call gtk_plug_new() passing in that
* ID.
@@ -265,7 +265,7 @@ gtk_socket_add_id (GtkSocket *socket, GdkNativeWindow window_id)
*
* Gets the window ID of a #GtkSocket widget, which can then
* be used to create a client embedded inside the socket, for
- * instance with gtk_plug_new ().
+ * instance with gtk_plug_new().
*
* The #GtkSocket must have already be added into a toplevel window
* before you can make this call.