libpurple/blistnode.c

branch
soc.2013.gobjectification
changeset 34983
81638be26f41
parent 34865
764a33b41ac7
child 35005
bff56dfca65d
equal deleted inserted replaced
34982:8456350bb6fd 34983:81638be26f41
124 } 124 }
125 125
126 void * 126 void *
127 purple_blist_node_get_ui_data(const PurpleBlistNode *node) 127 purple_blist_node_get_ui_data(const PurpleBlistNode *node)
128 { 128 {
129 g_return_val_if_fail(node, NULL); 129 g_return_val_if_fail(PURPLE_IS_BLIST_NODE(node), NULL);
130 130
131 return node->ui_data; 131 return node->ui_data;
132 } 132 }
133 133
134 void 134 void
135 purple_blist_node_set_ui_data(PurpleBlistNode *node, void *ui_data) { 135 purple_blist_node_set_ui_data(PurpleBlistNode *node, void *ui_data) {
136 g_return_if_fail(node); 136 g_return_if_fail(PURPLE_IS_BLIST_NODE(node));
137 137
138 node->ui_data = ui_data; 138 node->ui_data = ui_data;
139 } 139 }
140 140
141 void purple_blist_node_remove_setting(PurpleBlistNode *node, const char *key) 141 void purple_blist_node_remove_setting(PurpleBlistNode *node, const char *key)

mercurial