[grilo] Changes gir/typelib prefix from Grilo to Grl
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] Changes gir/typelib prefix from Grilo to Grl
- Date: Fri, 28 May 2010 14:48:10 +0000 (UTC)
commit 7e1a75c1bd91495755c620c55dad8ef8ad681cfb
Author: Eduardo Lima Mitev <elima igalia com>
Date: Thu Apr 29 15:09:29 2010 +0200
Changes gir/typelib prefix from Grilo to Grl
Partially fixes GB#616961.
src/Makefile.am | 12 ++++++------
tools/js/testGrilo.js | 14 +++++++-------
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 34d768b..f2c4075 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -83,12 +83,12 @@ introspection_sources = \
$(lib GRL_NAME@inc_HEADERS) \
$(lib GRL_NAME@_la_SOURCES)
-Grilo- GRL_MAJORMINOR@.gir: lib GRL_NAME@.la
-Grilo_0_1_gir_INCLUDES = GObject-2.0
-Grilo_0_1_gir_CFLAGS = $(lib GRL_NAME@_la_CFLAGS)
-Grilo_0_1_gir_LIBS = lib GRL_NAME@.la
-Grilo_0_1_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
-INTROSPECTION_GIRS += Grilo- GRL_MAJORMINOR@.gir
+Grl- GRL_MAJORMINOR@.gir: lib GRL_NAME@.la
+Grl_0_1_gir_INCLUDES = GObject-2.0
+Grl_0_1_gir_CFLAGS = $(lib GRL_NAME@_la_CFLAGS)
+Grl_0_1_gir_LIBS = lib GRL_NAME@.la
+Grl_0_1_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
+INTROSPECTION_GIRS += Grl- GRL_MAJORMINOR@.gir
girdir = $(datadir)/gir-1.0
dist_gir_DATA = $(INTROSPECTION_GIRS)
diff --git a/tools/js/testGrilo.js b/tools/js/testGrilo.js
index 5991cc4..44d1b50 100644
--- a/tools/js/testGrilo.js
+++ b/tools/js/testGrilo.js
@@ -7,7 +7,7 @@
// Author: Eduardo Lima Mitev <elima igalia com>
//
-const Grl = imports.gi.Grilo;
+const Grl = imports.gi.Grl;
const MainLoop = imports.mainloop;
function SimplePlayList () {
@@ -16,8 +16,8 @@ function SimplePlayList () {
SimplePlayList.prototype = {
_init: function () {
- Grl.grl_log_init ("*:-");
- let registry = Grl.GrlPluginRegistry.get_instance ();
+ Grl.log_init ("*:-");
+ let registry = Grl.PluginRegistry.get_instance ();
let sources = [];
this.sources = sources;
@@ -25,7 +25,7 @@ SimplePlayList.prototype = {
registry.connect ("source_added",
function (pluginRegistry, mediaSource) {
let ops = mediaSource.supported_operations ();
- if (ops & Grl.GrlSupportedOps.SEARCH) {
+ if (ops & Grl.SupportedOps.SEARCH) {
log ("Detected new source availabe: '" +
mediaSource.get_name () +
"' and it supports search");
@@ -50,9 +50,9 @@ SimplePlayList.prototype = {
search: function (q) {
for each (let source in this.sources) {
log (source.get_name () + " - " + q);
- source.search (q, [Grl.GRL_METADATA_KEY_ID], 0, 10,
- Grl.GrlMetadataResolutionFlags.FULL |
- Grl.GrlMetadataResolutionFlags.IDLE_RELAY,
+ source.search (q, [Grl.METADATA_KEY_ID], 0, 10,
+ Grl.MetadataResolutionFlags.FULL |
+ Grl.MetadataResolutionFlags.IDLE_RELAY,
this._searchCallback, source);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]