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:
committed by
Behdad Esfahbod
parent
0ef457c730
commit
5e3fbe78cc
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user