From 03fc0dd5caf6e88f02574be4af34c9c79b6940aa Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 22 Oct 2010 11:42:39 +0100 Subject: recent-manager: Add RecentInfo.create_app_info() A simple wrapper that makes it possible to create a GAppInfo from a GtkRecentInfo blob. --- gtk/gtkrecentmanager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtkrecentmanager.h') diff --git a/gtk/gtkrecentmanager.h b/gtk/gtkrecentmanager.h index b9a56791b2..df5ce0ecdd 100644 --- a/gtk/gtkrecentmanager.h +++ b/gtk/gtkrecentmanager.h @@ -204,6 +204,9 @@ gboolean gtk_recent_info_get_application_info (GtkRecentInfo *info const gchar **app_exec, guint *count, time_t *time_); +GAppInfo * gtk_recent_info_create_app_info (GtkRecentInfo *info, + const gchar *app_name, + GError **error); gchar ** gtk_recent_info_get_applications (GtkRecentInfo *info, gsize *length) G_GNUC_MALLOC; gchar * gtk_recent_info_last_application (GtkRecentInfo *info) G_GNUC_MALLOC; -- cgit v1.2.1