[gtk+] More documentation fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] More documentation fixes
- Date: Thu, 6 Jan 2011 14:58:00 +0000 (UTC)
commit 6cdb6255afa06699a01463d389c0217f41ac6fca
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 6 09:06:24 2011 -0500
More documentation fixes
docs/reference/gtk/gtk-query-immodules-3.0.xml | 2 +-
docs/reference/gtk/tmpl/gtktextbuffer.sgml | 2 +-
gtk/gtkaccelgroup.c | 12 ++++++------
gtk/gtkappchooserdialog.c | 4 ++--
gtk/gtkcellarea.c | 2 +-
gtk/gtkfilechooser.c | 6 +++---
gtk/gtkmain.c | 2 +-
gtk/gtksettings.c | 4 ++--
gtk/gtksizegroup.c | 6 +++---
gtk/gtktoolshell.c | 2 +-
10 files changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/docs/reference/gtk/gtk-query-immodules-3.0.xml b/docs/reference/gtk/gtk-query-immodules-3.0.xml
index 609323c..c9e541b 100644
--- a/docs/reference/gtk/gtk-query-immodules-3.0.xml
+++ b/docs/reference/gtk/gtk-query-immodules-3.0.xml
@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
]>
-<refentry id="gtk-query-immodules">
+<refentry id="gtk-query-immodules-3.0">
<refmeta>
<refentrytitle>gtk-query-immodules-3.0</refentrytitle>
diff --git a/docs/reference/gtk/tmpl/gtktextbuffer.sgml b/docs/reference/gtk/tmpl/gtktextbuffer.sgml
index f7cfdef..ff1c01a 100644
--- a/docs/reference/gtk/tmpl/gtktextbuffer.sgml
+++ b/docs/reference/gtk/tmpl/gtktextbuffer.sgml
@@ -931,7 +931,7 @@ It must return the serialized form of the content.
</para>
@register_buffer: the #GtkTextBuffer for which the format is registered
- content_buffer: the #GtkTextsBuffer to serialize
+ content_buffer: the #GtkTextBuffer to serialize
@start: start of the block of text to serialize
@end: end of the block of text to serialize
@length: Return location for the length of the serialized data
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index aed1dd3..9e43cca 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -950,11 +950,11 @@ gtk_accel_groups_activate (GObject *object,
* @keyval: a GDK keyval
* @modifiers: modifier mask
* @returns: %TRUE if the accelerator is valid
- *
+ *
* Determines whether a given keyval and modifier mask constitute
- * a valid keyboard accelerator. For example, the #GDK_a keyval
+ * a valid keyboard accelerator. For example, the #GDK_KEY_a keyval
* plus #GDK_CONTROL_MASK is valid - this is a "Ctrl+a" accelerator.
- * But, you can't, for instance, use the #GDK_Control_L keyval
+ * But, you can't, for instance, use the #GDK_KEY_Control_L keyval
* as an accelerator.
*/
gboolean
@@ -1278,11 +1278,11 @@ gtk_accelerator_parse (const gchar *accelerator,
* gtk_accelerator_name:
* @accelerator_key: accelerator keyval
* @accelerator_mods: accelerator modifier mask
- *
+ *
* Converts an accelerator keyval and modifier mask
* into a string parseable by gtk_accelerator_parse().
- * For example, if you pass in #GDK_q and #GDK_CONTROL_MASK,
- * this function returns "<Control>q".
+ * For example, if you pass in #GDK_KEY_q and #GDK_CONTROL_MASK,
+ * this function returns "<Control>q".
*
* If you need to display accelerators in the user interface,
* see gtk_accelerator_get_label().
diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c
index f83eec4..04785d0 100644
--- a/gtk/gtkappchooserdialog.c
+++ b/gtk/gtkappchooserdialog.c
@@ -33,8 +33,8 @@
*
* Note that #GtkAppChooserDialog does not have any interesting methods
* of its own. Instead, you should get the embedded #GtkAppChooserWidget
- * using gtk_file_chooser_dialog_get_widget() and call its methods if
- * the gneeric #GtkAppChooser interface is not sufficient for your needs.
+ * using gtk_app_chooser_dialog_get_widget() and call its methods if
+ * the generic #GtkAppChooser interface is not sufficient for your needs.
*/
#include "config.h"
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index 60ff2f8..94b2967 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -231,7 +231,7 @@
* give every row it's minimum or natural height or, if the model content
* is expected to fit inside the layouting widget without scrolling, it
* would make sense to calculate the allocation for each row at
- * #GtkWidget.size_allocate() time using gtk_distribute_natural_allocation().
+ * #GtkWidget::size-allocate time using gtk_distribute_natural_allocation().
* </para>
* </refsect2>
* <refsect2 id="cell-area-events-and-focus">
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index a0eecbd..898b3d4 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -915,7 +915,7 @@ gtk_file_chooser_set_local_only (GtkFileChooser *chooser,
/**
* gtk_file_chooser_get_local_only:
- * @chooser: a #GtkFileChoosre
+ * @chooser: a #GtkFileChooser
*
* Gets whether only local files can be selected in the
* file selector. See gtk_file_chooser_set_local_only()
@@ -1264,7 +1264,7 @@ gtk_file_chooser_set_current_folder (GtkFileChooser *chooser,
* Note that this is the folder that the file chooser is currently displaying
* (e.g. "/home/username/Documents"), which is <emphasis>not the same</emphasis>
* as the currently-selected folder if the chooser is in
- * %GTK_FILE_CHOOSER_SELECT_FOLDER mode
+ * %GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode
* (e.g. "/home/username/Documents/selected-folder/". To get the
* currently-selected folder in that mode, use gtk_file_chooser_get_uri() as the
* usual way to get the selection.
@@ -1568,7 +1568,7 @@ gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser,
* Note that this is the folder that the file chooser is currently displaying
* (e.g. "file:///home/username/Documents"), which is <emphasis>not the same</emphasis>
* as the currently-selected folder if the chooser is in
- * %GTK_FILE_CHOOSER_SELECT_FOLDER mode
+ * %GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode
* (e.g. "file:///home/username/Documents/selected-folder/". To get the
* currently-selected folder in that mode, use gtk_file_chooser_get_uri() as the
* usual way to get the selection.
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 06ec9f3..63376bf 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -52,7 +52,7 @@
*
* When your callbacks are invoked, you would typically take some action - for
* example, when an Open button is clicked you might display a
- * #GtkFileSelectionDialog. After a callback finishes, GTK+ will return to the
+ * #GtkFileChooserDialog. After a callback finishes, GTK+ will return to the
* main loop and await more user input.
* </para>
* <example>
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 5ce17e8..5d17d5f 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1047,7 +1047,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
g_assert (result == PROP_ENABLE_TOOLTIPS);
/**
- * GtkSettings:toolbar-style:
+ * GtkSettings:gtk-toolbar-style:
*
* The size of icons in default toolbars.
*/
@@ -1062,7 +1062,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
g_assert (result == PROP_TOOLBAR_STYLE);
/**
- * GtkSettings:toolbar-icon-size:
+ * GtkSettings:gtk-toolbar-icon-size:
*
* The size of icons in default toolbars.
*/
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c
index 836b3da..54042a0 100644
--- a/gtk/gtksizegroup.c
+++ b/gtk/gtksizegroup.c
@@ -475,10 +475,10 @@ gtk_size_group_new (GtkSizeGroupMode mode)
*
* Sets the #GtkSizeGroupMode of the size group. The mode of the size
* group determines whether the widgets in the size group should
- * all have the same horizontal requisition (%GTK_SIZE_GROUP_MODE_HORIZONTAL)
- * all have the same vertical requisition (%GTK_SIZE_GROUP_MODE_VERTICAL),
+ * all have the same horizontal requisition (%GTK_SIZE_GROUP_HORIZONTAL)
+ * all have the same vertical requisition (%GTK_SIZE_GROUP_VERTICAL),
* or should all have the same requisition in both directions
- * (%GTK_SIZE_GROUP_MODE_BOTH).
+ * (%GTK_SIZE_GROUP_BOTH).
**/
void
gtk_size_group_set_mode (GtkSizeGroup *size_group,
diff --git a/gtk/gtktoolshell.c b/gtk/gtktoolshell.c
index 12d019f..7dc4bf5 100644
--- a/gtk/gtktoolshell.c
+++ b/gtk/gtktoolshell.c
@@ -94,7 +94,7 @@ gtk_tool_shell_get_orientation (GtkToolShell *shell)
* @shell: a #GtkToolShell
*
* Retrieves whether the tool shell has text, icons, or both. Tool items must
- * not call this function directly, but rely on gtk_tool_item_get_style()
+ * not call this function directly, but rely on gtk_tool_item_get_toolbar_style()
* instead.
*
* Return value: the current style of @shell
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]