Don't mask "time" with the "time" argument.

2006-05-22  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.h:
	* gtk/gtkrecentmanager.c
	(gtk_recent_info_get_application_info): Don't mask "time" with
	the "time" argument.
This commit is contained in:
Emmanuele Bassi 2006-05-22 17:02:54 +00:00 committed by Emmanuele Bassi
parent 58aa5c5e8f
commit 4636fa7efe
4 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2006-05-22 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.h:
* gtk/gtkrecentmanager.c
(gtk_recent_info_get_application_info): Don't mask "time" with
the "time" argument.
2006-05-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkcolor.h: gdk_color_parse returns boolean, not int.

View File

@ -1,3 +1,10 @@
2006-05-22 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.h:
* gtk/gtkrecentmanager.c
(gtk_recent_info_get_application_info): Don't mask "time" with
the "time" argument.
2006-05-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkcolor.h: gdk_color_parse returns boolean, not int.

View File

@ -1743,7 +1743,7 @@ recent_app_info_free (RecentAppInfo *app_info)
* @app_name: the name of the application that has registered this item
* @app_exec: return location for the string containing the command line
* @count: return location for the number of times this item was registered
* @time: return location for the timestamp this item was last registered
* @time_: return location for the timestamp this item was last registered
* for this application
*
* Gets the data regarding the application that has registered the resource
@ -1763,7 +1763,7 @@ gtk_recent_info_get_application_info (GtkRecentInfo *info,
const gchar *app_name,
gchar **app_exec,
guint *count,
time_t *time)
time_t *time_)
{
RecentAppInfo *ai;
@ -1788,7 +1788,7 @@ gtk_recent_info_get_application_info (GtkRecentInfo *info,
*count = ai->count;
if (time)
*time = ai->stamp;
*time_ = ai->stamp;
return TRUE;
}

View File

@ -182,7 +182,7 @@ gboolean gtk_recent_info_get_application_info (GtkRecentInfo *info
const gchar *app_name,
gchar **app_exec,
guint *count,
time_t *time);
time_t *time_);
gchar ** gtk_recent_info_get_applications (GtkRecentInfo *info,
gsize *length) G_GNUC_MALLOC;
gchar * gtk_recent_info_last_application (GtkRecentInfo *info) G_GNUC_MALLOC;