From fc4a6b955d619897d50d4b5cfbf0695674e5bb01 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 13 Dec 2001 19:51:24 +0000 Subject: Markup fixes. * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes. * gdk-pixbuf-io.c: Markup fixes. * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml, gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml, gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml, gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml, gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml, gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml, gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml, gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml, gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml, gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml, gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml, gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples). --- gtk/gtkrc.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'gtk/gtkrc.c') diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index 33abe80afc..355a134aa9 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -457,10 +457,10 @@ gtk_rc_add_default_file (const gchar *filename) /** * gtk_rc_set_default_files: - * @filenames: A %NULL terminated list of filenames. + * @filenames: A %NULL-terminated list of filenames. * * Sets the list of files that GTK+ will read at the - * end of gtk_init() + * end of gtk_init(). **/ void gtk_rc_set_default_files (gchar **filenames) @@ -490,12 +490,11 @@ gtk_rc_set_default_files (gchar **filenames) * gtk_rc_get_default_files: * * Retrieves the current list of RC files that will be parsed - * at the end of gtk_init() + * at the end of gtk_init(). * - * Return value: A NULL terminated array of filenames. This memory + * Return value: A %NULL-terminated array of filenames. This memory * is owned by GTK+ and must not be freed by the application. - * If you want to store this information, you should make a - * copy. + * If you want to store this information, you should make a copy. **/ gchar ** gtk_rc_get_default_files (void) @@ -1029,7 +1028,7 @@ gtk_rc_style_new (void) * gtk_rc_style_copy: * @orig: the style to copy * - * Make a copy of the specified #GtkRcStyle. This function + * Makes a copy of the specified #GtkRcStyle. This function * will correctly copy an rc style that is a member of a class * derived from #GtkRcStyle. * @@ -1272,7 +1271,7 @@ gtk_rc_reset_widgets (GtkRcContext *context) * @force_load: load whether or not anything changed * * If the modification time on any previously read file - * for the given GtkSettings has changed, discard all style information + * for the given #GtkSettings has changed, discard all style information * and then reread all previously read RC files. * * Return value: %TRUE if the files were reread. @@ -1496,7 +1495,7 @@ gtk_rc_get_style (GtkWidget *widget) * @widget_path: the widget path to use when looking up the style, or %NULL * @class_path: the class path to use when looking up the style, or %NULL * @type: a type that will be used along with parent types of this type - * when matching against class styles, or G_TYPE_NONE + * when matching against class styles, or #G_TYPE_NONE * * Creates up a #GtkStyle from styles defined in a RC file by providing * the raw components used in matching. This function may be useful @@ -1505,16 +1504,15 @@ gtk_rc_get_style (GtkWidget *widget) * would be items inside a GNOME canvas widget. * * The action of gtk_rc_get_style() is similar to: - * - * + * * gtk_widget_path (widget, NULL, &path, NULL); * gtk_widget_class_path (widget, NULL, &class_path, NULL); * gtk_rc_get_style_by_paths (gtk_widget_get_settings (widget), path, class_path, * G_OBJECT_TYPE (widget)); - * + * * * Return value: A style created by matching with the supplied paths, - * or %NULL if nothign matching was specified and the default style should + * or %NULL if nothing matching was specified and the default style should * be used. The returned value is owned by GTK+ as part of an internal cache, * so you must call g_object_ref() on the returned value if you want to * keep a reference to it. @@ -2689,7 +2687,7 @@ gtk_rc_check_pixmap_dir (const gchar *dir, const gchar *pixmap_file) * If the file is not found, it outputs a warning message using * g_warning() and returns %NULL. * - * Return value: + * Return value: the filename. **/ gchar* gtk_rc_find_pixmap_in_path (GtkSettings *settings, -- cgit v1.2.1