summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-04-16 04:08:54 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-04-16 04:08:54 +0000
commit98cf1633325cadb1a18aeb3c1bdd3aa470788e85 (patch)
treefdc4c04831e13a343be33f55256f9099670a1ed6 /docs
parentdcbe7f4719c53a1877ff901a62babfb6ced3400f (diff)
downloadgtk+-98cf1633325cadb1a18aeb3c1bdd3aa470788e85.tar.gz
Cosmetic fixes
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ChangeLog5
-rw-r--r--docs/reference/gtk/migrating-GtkRecentChooser.sgml14
2 files changed, 12 insertions, 7 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 7331bccd40..f293366cb3 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-16 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/migrating-GtkRecentChooser.sgml: Cosmetic fixes to
+ examples.
+
2006-04-04 Tor Lillqvist <tml@novell.com>
* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
diff --git a/docs/reference/gtk/migrating-GtkRecentChooser.sgml b/docs/reference/gtk/migrating-GtkRecentChooser.sgml
index 2f76d67d29..4f90c23b3f 100644
--- a/docs/reference/gtk/migrating-GtkRecentChooser.sgml
+++ b/docs/reference/gtk/migrating-GtkRecentChooser.sgml
@@ -64,7 +64,7 @@
GtkRecentManager *manager;
GError *error = NULL;
- manager = gtk_recent_manager_new ();
+ manager = gtk_recent_manager_new (<!-- -->);
gtk_recent_manager_add_item (manager, document_uri, &amp;error);
if (error)
@@ -87,7 +87,7 @@
GtkRecentData *recent_data;
GError *error = NULL;
- manager = gtk_recent_manager_new ();
+ manager = gtk_recent_manager_new (<!-- -->);
recent_data = g_new0 (GtkRecentData, 1);
/* the user visible name of the document (maybe its title); should
@@ -100,16 +100,16 @@
/* the name of the application that is registering the document
* (also mandatory); usually, the same name you used with
- * the g_set_application_name() function.
+ * the g_set_application_name (<!-- -->) function.
*/
recent_data-&amp;app_name = APP_NAME;
/* the command to open a file; the %u string will be automagically
* expanded to the document's URI when getting the application's
* command line from the GtkRecentInfo object with
- * gtk_recent_info_get_application_info()
+ * gtk_recent_info_get_application_info (<!-- -->)
*/
- recent_data-&amp;app_exec = g_strjoin (" ", g_get_prgname (), "--open-file", "%u", NULL);
+ recent_data-&amp;app_exec = g_strjoin (" ", g_get_prgname (<!-- -->), "--open-file", "%u", NULL);
gtk_recent_manager_add_full (manager, document_uri, recent_data, &amp;error);
if (error)
@@ -281,7 +281,7 @@
<informalexample><programlisting>
GtkRecentFilter *filter;
- filter = gtk_recent_filter_new ();
+ filter = gtk_recent_filter_new (<!-- -->);
/* set the user visible name of the filter */
gtk_recent_filter_set_name (filter, "Since Last Month");
@@ -295,7 +295,7 @@
/* set the currently used filter */
gtk_recent_chooser_set_filter (GTK_RECENT_CHOOSER (chooser), filter);
- filter = gtk_recent_filter_new ();
+ filter = gtk_recent_filter_new (<!-- -->);
gtk_recent_filter_set_name (filter, "Every text file");
gtk_recent_filter_set_mime_type (filter, "text/plain");