diff options
author | Juan A. Suarez Romero <jasuarez@igalia.com> | 2012-07-23 13:59:35 +0000 |
---|---|---|
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | 2012-07-23 13:59:35 +0000 |
commit | b3be0e0f4c1543c8e2372fbc43cd238868afcd2e (patch) | |
tree | e272b3364cbb4ace728007b6025a58e87a3f1308 /examples | |
parent | 41f2fe09990e8f800f829e52867e87864d971b5f (diff) |
core: Rename some registry functions
Rename those registry functions affecting plugins, by adding the word "plugin".
It makes clear what the functions are about.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/browsing.c | 2 | ||||
-rw-r--r-- | examples/configuring-plugins.c | 2 | ||||
-rw-r--r-- | examples/efficient-metadata-resolution.c | 2 | ||||
-rw-r--r-- | examples/loading-plugins.c | 2 | ||||
-rw-r--r-- | examples/multivalues.c | 2 | ||||
-rw-r--r-- | examples/searching.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/browsing.c b/examples/browsing.c index 38bd0c4..6c59a86 100644 --- a/examples/browsing.c +++ b/examples/browsing.c @@ -118,7 +118,7 @@ load_plugins (void) registry = grl_registry_get_default (); g_signal_connect (registry, "source-added", G_CALLBACK (source_added_cb), NULL); - if (!grl_registry_load_all (registry, &error)) { + if (!grl_registry_load_all_plugins (registry, &error)) { g_error ("Failed to load plugins: %s", error->message); } } diff --git a/examples/configuring-plugins.c b/examples/configuring-plugins.c index 03bf9d8..40d504d 100644 --- a/examples/configuring-plugins.c +++ b/examples/configuring-plugins.c @@ -28,7 +28,7 @@ load_plugins (void) g_signal_connect (registry, "source-added", G_CALLBACK (source_added_cb), NULL); - if (!grl_registry_load_all (registry, &error)) { + if (!grl_registry_load_all_plugins (registry, &error)) { g_error ("Failed to load plugins: %s", error->message); } } diff --git a/examples/efficient-metadata-resolution.c b/examples/efficient-metadata-resolution.c index 907bc68..c99b037 100644 --- a/examples/efficient-metadata-resolution.c +++ b/examples/efficient-metadata-resolution.c @@ -137,7 +137,7 @@ load_plugins (void) registry = grl_registry_get_default (); g_signal_connect (registry, "source-added", G_CALLBACK (source_added_cb), NULL); - if (!grl_registry_load_all (registry, &error)) { + if (!grl_registry_load_all_plugins (registry, &error)) { g_error ("Failed to load plugins: %s", error->message); } } diff --git a/examples/loading-plugins.c b/examples/loading-plugins.c index 001ce9e..9893c36 100644 --- a/examples/loading-plugins.c +++ b/examples/loading-plugins.c @@ -49,7 +49,7 @@ load_plugins (void) The registry will look for plugins in the default plugin path and directories specified using the GRL_PLUGIN_PATH environment variable */ - if (!grl_registry_load_all (registry, &error)) { + if (!grl_registry_load_all_plugins (registry, &error)) { g_error ("Failed to load plugins: %s", error->message); } } diff --git a/examples/multivalues.c b/examples/multivalues.c index cbee694..c31a54c 100644 --- a/examples/multivalues.c +++ b/examples/multivalues.c @@ -99,7 +99,7 @@ load_plugins (void) registry = grl_registry_get_default (); g_signal_connect (registry, "source-added", G_CALLBACK (source_added_cb), NULL); - if (!grl_registry_load_all (registry, &error)) { + if (!grl_registry_load_all_plugins (registry, &error)) { g_error ("Failed to load plugins: %s", error->message); } } diff --git a/examples/searching.c b/examples/searching.c index 8ec13bf..0779660 100644 --- a/examples/searching.c +++ b/examples/searching.c @@ -92,7 +92,7 @@ load_plugins (void) registry = grl_registry_get_default (); g_signal_connect (registry, "source-added", G_CALLBACK (source_added_cb), NULL); - if (!grl_registry_load_all (registry, &error)) { + if (!grl_registry_load_all_plugins (registry, &error)) { g_error ("Failed to load plugins: %s", error->message); } } |