diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2001-11-14 22:36:23 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2001-11-14 22:36:23 +0000 |
commit | 3470c6347f972c917b2e6eb5d8c9ad58ecba8f95 (patch) | |
tree | 1dc58223bde435ba080ab530c5020a760bcb799a /gtk | |
parent | 5694bcb0eef619134b5253d7f622db227e624c6e (diff) | |
download | gtk+-3470c6347f972c917b2e6eb5d8c9ad58ecba8f95.tar.gz |
Rearrange docs (#64566)
* gtk/gtkbutton.c (gtk_button_get_label): Rearrange docs (#64566)
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Typo fix (#64474)
* gtk/gtkruler.c (gtk_ruler_get_metric): Typo fix (#64470)
* gtk/gtknotebook.c (gtk_notebook_prepend_page): Typo fix (#64467)
* gtk/gtklabel.c: Documentation fixes (#64452)
* docs/reference/gdk/Makefile.am (MKDB_OPTIONS),
docs/reference/gdk-pixbuf/Makefile.am (MKDB_OPTIONS),
docs/reference/gtk/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
* docs/reference/gdk-pixbuf/tmpl/file-saving.sgml,
docs/reference/gdk-pixbuf/tmpl/module_interface.sgml,
docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rgb.sgml: Consistent short descriptions.
* docs/reference/gtk/tmpl/gtkprogressbar.sgml: Remove duplicate docs. (#64469)
* docs/reference/gtk/gtk-sections.txt: Add missing TITLEs (#64459, #6456
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkbutton.c | 12 | ||||
-rw-r--r-- | gtk/gtklabel.c | 6 | ||||
-rw-r--r-- | gtk/gtknotebook.c | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index fa32a00038..32199e7fc5 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -1104,13 +1104,13 @@ gtk_button_set_label (GtkButton *button, * @button: a #GtkButton * * Fetches the text from the label of the button, as set by - * gtk_button_set_label(). + * gtk_button_set_label(). This string is owned by the widget + * and must not be modified or freed. If the label text has not + * been set the return value will be %NULL. This will be the + * case if you create an empty button with gtk_button_new() to + * use as a container. * - * Return value: the text of the label widget. This string is - * owned by the widget and must not be modified or freed. - * If the label text has not been set the return value - * will be NULL. This will be the case if you create an - * empty button with gtk_button_new() to use as a container. + * Return value: the text of the label widget. **/ G_CONST_RETURN gchar * gtk_button_get_label (GtkButton *button) diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index f1daf70352..fe703d41f9 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -780,7 +780,7 @@ gtk_label_get_mnemonic_widget (GtkLabel *label) * returns the keyval used for the mnemonic accelerator. If there is no * mnemonic set up it returns #GDK_VoidSymbol. * - * Returns: GDK keyval usable for accelerators, or GDK_VoidSymbol + * Returns: GDK keyval usable for accelerators, or #GDK_VoidSymbol **/ guint gtk_label_get_mnemonic_keyval (GtkLabel *label) @@ -1210,9 +1210,9 @@ gtk_label_set_justify (GtkLabel *label, * gtk_label_get_justify: * @label: a #GtkLabel * - * Returns the justification of the label. See gtk_label_set_justification (). + * Returns the justification of the label. See gtk_label_set_justify (). * - * Return value: GtkJustification + * Return value: #GtkJustification **/ GtkJustification gtk_label_get_justify (GtkLabel *label) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index f9b5a08284..87f114138d 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -3639,7 +3639,7 @@ gtk_notebook_append_page_menu (GtkNotebook *notebook, * @tab_label: the #GtkWidget to be used as the label for the page, * or %NULL to use the default label, 'page N'. * - * Prepends a page to @noteobook. + * Prepends a page to @notebook. **/ void gtk_notebook_prepend_page (GtkNotebook *notebook, |