shell-global: Add shell_get_self_contact_features
This is another workaround for the lack of gjs supporting array arguments, this time wrapping tp_connection_upgrade_contacts to add new features to the connection's self contact. https://bugzilla.gnome.org/show_bug.cgi?id=642793
This commit is contained in:
@ -157,6 +157,14 @@ void shell_get_tp_contacts (TpConnection *self,
|
||||
|
||||
void shell_global_launch_calendar_server (ShellGlobal *global);
|
||||
|
||||
typedef void (*ShellGetSelfContactFeaturesCb) (TpConnection *connection,
|
||||
TpContact *contact);
|
||||
|
||||
void shell_get_self_contact_features (TpConnection *self,
|
||||
guint n_features,
|
||||
const TpContactFeature *features,
|
||||
ShellGetSelfContactFeaturesCb callback);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_GLOBAL_H__ */
|
||||
|
Reference in New Issue
Block a user