summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentmanager.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-06-15 17:22:58 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-06-15 18:25:04 -0400
commit362127c33c16b8626d4a4b8925bfb7b03bee0b6b (patch)
tree02c85326c7dffd7e9a0183cebb21a0ee96d0de2d /gtk/gtkrecentmanager.h
parentb6fc50c855077067ac3ba26b6654645eca2d7320 (diff)
downloadgtk+-362127c33c16b8626d4a4b8925bfb7b03bee0b6b.tar.gz
Fix the docs for gtk_recent_info_get_application_info()
The documentation for the function says that the app_exec string should be freed, but we return a pointer to the internal string without duplicating it. Since the app_exec string is valid as long as the GtkRecentInfo is valid the documentation should be fixed and the out argument should be constified. Fixes #584832.
Diffstat (limited to 'gtk/gtkrecentmanager.h')
-rw-r--r--gtk/gtkrecentmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrecentmanager.h b/gtk/gtkrecentmanager.h
index 4127e67b21..ccc6581594 100644
--- a/gtk/gtkrecentmanager.h
+++ b/gtk/gtkrecentmanager.h
@@ -186,7 +186,7 @@ time_t gtk_recent_info_get_visited (GtkRecentInfo *info
gboolean gtk_recent_info_get_private_hint (GtkRecentInfo *info);
gboolean gtk_recent_info_get_application_info (GtkRecentInfo *info,
const gchar *app_name,
- gchar **app_exec,
+ const gchar **app_exec,
guint *count,
time_t *time_);
gchar ** gtk_recent_info_get_applications (GtkRecentInfo *info,