shell-global: Add wrappers for TelepathyLogger

gjs can't support more than one callback in the same function,
so work around this with yet another shell-global wrapper.

https://bugzilla.gnome.org/show_bug.cgi?id=643377
This commit is contained in:
Jasper St. Pierre
2011-02-26 12:32:27 -05:00
parent 12df10b2d0
commit 525da01a62
3 changed files with 35 additions and 1 deletions

View File

@ -8,6 +8,7 @@
#include <gtk/gtk.h>
#include <meta/meta-plugin.h>
#include <telepathy-glib/telepathy-glib.h>
#include <telepathy-logger/telepathy-logger.h>
G_BEGIN_DECLS
@ -165,6 +166,12 @@ void shell_get_self_contact_features (TpConnection *self,
const TpContactFeature *features,
ShellGetSelfContactFeaturesCb callback);
void shell_get_contact_events (TplLogManager *log_manager,
TpAccount *account,
TplEntity *entity,
guint num_events,
GAsyncReadyCallback callback);
G_END_DECLS
#endif /* __SHELL_GLOBAL_H__ */