[rygel-grilo] Add error parameters to Grilo functions
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel-grilo] Add error parameters to Grilo functions
- Date: Fri, 7 Jan 2011 16:45:33 +0000 (UTC)
commit cb2551e12deb26c6154d9a26b526a693f7b1bff2
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Fri Jan 7 16:31:59 2011 +0000
Add error parameters to Grilo functions
Most of Grilo API now requires a GError (or NULL to ignore).
As we are not interested right now in the error, use NULL.
src/rygel-grilo.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel-grilo.c b/src/rygel-grilo.c
index 1b72744..3259ddf 100644
--- a/src/rygel-grilo.c
+++ b/src/rygel-grilo.c
@@ -940,7 +940,7 @@ load_config ()
g_free (value);
}
}
- grl_plugin_registry_add_config (registry, config);
+ grl_plugin_registry_add_config (registry, config, NULL);
g_strfreev (keys);
}
@@ -989,7 +989,8 @@ main (gint argc, gchar **argv)
"RygelGriloParent",
"Object path to parent container",
NULL,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE),
+ NULL);
if (!GRL_METADATA_KEY_RYGEL_GRILO_PARENT) {
g_error ("Unable to register Parent key");
@@ -1012,10 +1013,10 @@ main (gint argc, gchar **argv)
G_CALLBACK (source_removed_cb), NULL);
if (!args || !args[0]) {
- grl_plugin_registry_load_all (registry);
+ grl_plugin_registry_load_all (registry, NULL);
} else {
for (i = 0; args[i]; i++) {
- grl_plugin_registry_load (registry, args[i]);
+ grl_plugin_registry_load (registry, args[i], NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]