Commit 6cdb6255 authored by Matthias Clasen's avatar Matthias Clasen

More documentation fixes

parent f35c3fd5
......@@ -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>
......
......@@ -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
......
......@@ -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 "&lt;Control&gt;q".
* For example, if you pass in #GDK_KEY_q and #GDK_CONTROL_MASK,
* this function returns "&lt;Control&gt;q".
*
* If you need to display accelerators in the user interface,
* see gtk_accelerator_get_label().
......
......@@ -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"
......
......@@ -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">
......
......@@ -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.
......
......@@ -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>
......
......@@ -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.
*/
......
......@@ -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,
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment