[PATCH 0/2] Make get_sources and get_sources_by_operations return GList



Hi,

The following patches modify the API by making GrlPluginRegistry's get_sources and
get_sources_by_operation return GLists instead of zero-terminated arrays. This change
is related to the conversation we previously had in the list[1]. With this change, we'll
avoid having to deal with JavaScript's unsupported arrays of types other than gchars: JS's
GList support is complete.

I created bug #629369 at Bugzilla for them, bug I think they'll get a better review by
coming to the list.

Cheers,

Simon

[1] http://mail.gnome.org/archives/grilo-list/2010-August/msg00102.html

Simón Pena (2):
  core: Make get_sources return a GList
  core: Make get_sources_by_operations return a GList

 src/grl-metadata-source.c         |   28 +++++++-----
 src/grl-multiple.c                |   24 ++--------
 src/grl-plugin-registry.c         |   91 +++++++++++++++---------------------
 src/grl-plugin-registry.h         |    4 +-
 src/tests/registry.c              |   19 +++++---
 tools/grilo-inspect/grl-inspect.c |   17 +++++---
 tools/grilo-test-ui/main.c        |   67 +++++++++++++++------------
 7 files changed, 120 insertions(+), 130 deletions(-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]