+2006-03-30 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Sync
+ the parameter names with the .h files, otherwise gtk-doc
+ misbehaves.
+
2006-03-27 Emmanuele Bassi <ebassi@cvs.gnome.org>
* tests/.cvsignore: Add bookmarkfile-test to the ignored files.
+2006-03-30 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Sync
+ the parameter names with the .h files, otherwise gtk-doc
+ misbehaves.
+
2006-03-27 Emmanuele Bassi <ebassi@cvs.gnome.org>
* tests/.cvsignore: Add bookmarkfile-test to the ignored files.
* g_bookmark_file_get_app_info:
* @bookmark: a #GBookmarkFile
* @uri: a valid URI
- * @app_name: an application's name
- * @app_exec: location for the command line of the application, or %NULL
+ * @name: an application's name
+ * @exec: location for the command line of the application, or %NULL
* @count: return location for the registration count, or %NULL
* @stamp: return location for the last registration time, or %NULL
* @error: return location for a #GError, or %NULL
gboolean
g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
const gchar *uri,
- const gchar *app_name,
- gchar **app_exec,
+ const gchar *name,
+ gchar **exec,
guint *count,
time_t *stamp,
GError **error)
return FALSE;
}
- ai = bookmark_item_lookup_app_info (item, app_name);
+ ai = bookmark_item_lookup_app_info (item, name);
if (!ai)
{
g_set_error (error, G_BOOKMARK_FILE_ERROR,
G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
_("No application with name '%s' registered a bookmark for '%s'"),
- app_name,
+ name,
uri);
return FALSE;
}
- if (app_exec)
- *app_exec = expand_exec_line (ai->exec, uri);
+ if (exec)
+ *exec = expand_exec_line (ai->exec, uri);
if (count)
*count = ai->count;