X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkrecentchoosermenu.c;h=25dc025be4451ff44ba7f83f733c847e53b2dd60;hb=563eb60666d9f72c38d7542b0ab37841e6aac488;hp=add5ac037c6ad8b4a17dcbb4a7d593a47b9db507;hpb=3e6af07f46c2345cd83603ed13512653310d4080;p=~andy%2Fgtk diff --git a/gtk/gtkrecentchoosermenu.c b/gtk/gtkrecentchoosermenu.c index add5ac037..25dc025be 100644 --- a/gtk/gtkrecentchoosermenu.c +++ b/gtk/gtkrecentchoosermenu.c @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ #include "config.h" @@ -233,7 +231,7 @@ gtk_recent_chooser_menu_class_init (GtkRecentChooserMenuClass *klass) _gtk_recent_chooser_install_properties (gobject_class); /** - * GtkRecentChooserMenu:show-numbers + * GtkRecentChooserMenu:show-numbers: * * Whether the first ten items in the menu should be prepended by * a number acting as a unique mnemonic. @@ -605,16 +603,16 @@ gtk_recent_chooser_menu_unselect_uri (GtkRecentChooser *chooser, static void gtk_recent_chooser_menu_select_all (GtkRecentChooser *chooser) { - g_warning (_("This function is not implemented for " - "widgets of class '%s'"), + g_warning ("This function is not implemented for " + "widgets of class '%s'", g_type_name (G_OBJECT_TYPE (chooser))); } static void gtk_recent_chooser_menu_unselect_all (GtkRecentChooser *chooser) { - g_warning (_("This function is not implemented for " - "widgets of class '%s'"), + g_warning ("This function is not implemented for " + "widgets of class '%s'", g_type_name (G_OBJECT_TYPE (chooser))); } @@ -1055,8 +1053,7 @@ check_and_return: if (pdata->loaded_items == pdata->n_items) { - g_list_foreach (pdata->items, (GFunc) gtk_recent_info_unref, NULL); - g_list_free (pdata->items); + g_list_free_full (pdata->items, (GDestroyNotify) gtk_recent_info_unref); priv->populate_id = 0;