Update last_stamp inside the look. (#336771, Morten Welinder)

2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
        last_stamp inside the look. (#336771, Morten Welinder)
This commit is contained in:
Behdad Esfahbod 2006-04-01 00:44:55 +00:00 committed by Behdad Esfahbod
parent 0ef457c730
commit 5e3fbe78cc
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
last_stamp inside the look. (#336771, Morten Welinder)
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property):

View File

@ -1,3 +1,8 @@
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
last_stamp inside the look. (#336771, Morten Welinder)
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property):

View File

@ -1887,7 +1887,10 @@ gtk_recent_info_last_application (GtkRecentInfo *info)
RecentAppInfo *ai = (RecentAppInfo *) l->data;
if (ai->stamp > last_stamp)
name = ai->name;
{
name = ai->name;
last_stamp = ai->stamp;
}
}
return g_strdup (name);