summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentmanager.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-10-22 11:42:39 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-10-22 11:54:53 +0100
commit03fc0dd5caf6e88f02574be4af34c9c79b6940aa (patch)
treee6ca06d81ba72efbc579c51368967024ac245e25 /gtk/gtkrecentmanager.h
parent06758f1ab5e7a6fd97c6bff6041aca96743a13b6 (diff)
downloadgtk+-03fc0dd5caf6e88f02574be4af34c9c79b6940aa.tar.gz
recent-manager: Add RecentInfo.create_app_info()
A simple wrapper that makes it possible to create a GAppInfo from a GtkRecentInfo blob.
Diffstat (limited to 'gtk/gtkrecentmanager.h')
-rw-r--r--gtk/gtkrecentmanager.h3
1 files changed, 3 insertions, 0 deletions
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;