~ubuntu-branches/ubuntu/precise/folks/precise

« back to all changes in this revision

Viewing changes to folks/group-details.c

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-06-10 11:28:11 UTC
  • mfrom: (1.2.11 upstream) (4.2.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110610112811-whyeodbo9mjezxfp
Tags: 0.5.2-1ubuntu1
* Merge with Debian experimental, remaining Ubuntu changes:
  - debian/control:
    + Add Vcs-Bzr link

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* group-details.c generated by valac 0.11.7, the Vala compiler
 
1
/* group-details.c generated by valac 0.12.0, the Vala compiler
2
2
 * generated from group-details.vala, do not modify */
3
3
 
4
4
/*
26
26
#include <gio/gio.h>
27
27
#include <stdlib.h>
28
28
#include <string.h>
 
29
#include <gee.h>
29
30
 
30
31
 
31
32
#define FOLKS_TYPE_GROUP_DETAILS (folks_group_details_get_type ())
42
43
        GTypeInterface parent_iface;
43
44
        void (*change_group) (FolksGroupDetails* self, const gchar* group, gboolean is_member, GAsyncReadyCallback _callback_, gpointer _user_data_);
44
45
        void (*change_group_finish) (FolksGroupDetails* self, GAsyncResult* _res_, GError** error);
45
 
        GHashTable* (*get_groups) (FolksGroupDetails* self);
46
 
        void (*set_groups) (FolksGroupDetails* self, GHashTable* value);
 
46
        GeeSet* (*get_groups) (FolksGroupDetails* self);
 
47
        void (*set_groups) (FolksGroupDetails* self, GeeSet* value);
47
48
};
48
49
 
49
50
typedef enum  {
67
68
GType folks_group_details_change_reason_get_type (void) G_GNUC_CONST;
68
69
void folks_group_details_change_group (FolksGroupDetails* self, const gchar* group, gboolean is_member, GAsyncReadyCallback _callback_, gpointer _user_data_);
69
70
void folks_group_details_change_group_finish (FolksGroupDetails* self, GAsyncResult* _res_, GError** error);
70
 
GHashTable* folks_group_details_get_groups (FolksGroupDetails* self);
71
 
void folks_group_details_set_groups (FolksGroupDetails* self, GHashTable* value);
 
71
GeeSet* folks_group_details_get_groups (FolksGroupDetails* self);
 
72
void folks_group_details_set_groups (FolksGroupDetails* self, GeeSet* value);
72
73
static void g_cclosure_user_marshal_VOID__STRING_BOOLEAN (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
73
74
 
74
75
 
101
102
}
102
103
 
103
104
 
104
 
GHashTable* folks_group_details_get_groups (FolksGroupDetails* self) {
 
105
GeeSet* folks_group_details_get_groups (FolksGroupDetails* self) {
105
106
        return FOLKS_GROUP_DETAILS_GET_INTERFACE (self)->get_groups (self);
106
107
}
107
108
 
108
109
 
109
 
void folks_group_details_set_groups (FolksGroupDetails* self, GHashTable* value) {
 
110
void folks_group_details_set_groups (FolksGroupDetails* self, GeeSet* value) {
110
111
        FOLKS_GROUP_DETAILS_GET_INTERFACE (self)->set_groups (self, value);
111
112
}
112
113
 
139
140
                   *
140
141
                   * Freeform group IDs are mapped to a boolean which is `true` if the
141
142
                   * contact is a member of the group, and `false` otherwise.
 
143
                   *
 
144
                   * @since 0.5.1
142
145
                   */
143
 
                g_object_interface_install_property (iface, g_param_spec_boxed ("groups", "groups", "groups", G_TYPE_HASH_TABLE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
 
146
                g_object_interface_install_property (iface, g_param_spec_object ("groups", "groups", "groups", GEE_TYPE_SET, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
144
147
                /**
145
148
                   * Emitted when the contact's membership status changes for a group.
146
149
                   *