Add API to check for extensions

Bug #597293 reported by Michal Hruby
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libzeitgeist
In Progress
Low
Mikkel Kamstrup Erlandsen

Bug Description

Currently there's no easy way to determine if there is a zg-extension present or not (for example the FTS extension). It'd be nice if there was simple method which would do that.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I started working on this but I am blocked on a bug in libeggdbus... :-S

Changed in libzeitgeist:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Low
milestone: none → 0.2.2
status: New → In Progress
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Just for the record. Here's what I get when running the included C example:

$ gcc $(pkg-config --libs --cflags zeitgeist-1.0) check-fts.c
kamstrup@hardback:~/Canonical/libzeitgeist/MASTER/examples$ ./a.out

(process:16591): GLib-GObject-WARNING **: invalid cast from `_EggDBusIntrospectableProxy' to `EggDBusObjectProxy'

** (process:16591): CRITICAL **: egg_dbus_object_proxy_query_interface: assertion `EGG_DBUS_IS_OBJECT_PROXY (object_proxy)' failed

** (process:16591): CRITICAL **: egg_dbus_introspectable_introspect_finish: assertion `EGG_DBUS_IS_INTROSPECTABLE (instance) && EGG_DBUS_IS_INTERFACE_PROXY (instance)' failed

(process:16591): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed

(process:16591): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed
** (process:16591): DEBUG: 000000
Segmentation fault

Changed in libzeitgeist:
milestone: 0.2.2 → none
naif (naii7070)
Changed in libzeitgeist:
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → naif (naii7070)
Colin Watson (cjwatson)
Changed in libzeitgeist:
assignee: naif (naii7070) → Mikkel Kamstrup Erlandsen (kamstrup)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.