From 98cf1633325cadb1a18aeb3c1bdd3aa470788e85 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 16 Apr 2006 04:08:54 +0000 Subject: [PATCH] Cosmetic fixes --- docs/reference/ChangeLog | 5 +++++ docs/reference/gtk/migrating-GtkRecentChooser.sgml | 14 +++++++------- 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 + + * gtk/migrating-GtkRecentChooser.sgml: Cosmetic fixes to + examples. + 2006-04-04 Tor Lillqvist * 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, &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-&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-&app_exec = g_strjoin (" ", g_get_prgname (), "--open-file", "%u", NULL); + recent_data-&app_exec = g_strjoin (" ", g_get_prgname (), "--open-file", "%u", NULL); gtk_recent_manager_add_full (manager, document_uri, recent_data, &error); if (error) @@ -281,7 +281,7 @@ 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");