libpurple/plugins/buddynote.c

branch
soc.2013.gobjectification
changeset 34864
0e292d8887de
parent 34699
09b2c9219b57
child 34865
764a33b41ac7
equal deleted inserted replaced
34863:dc0c27a2289a 34864:0e292d8887de
24 #include <signals.h> 24 #include <signals.h>
25 #include <util.h> 25 #include <util.h>
26 #include <version.h> 26 #include <version.h>
27 27
28 static void 28 static void
29 dont_do_it_cb(PurpleBListNode *node, const char *note) 29 dont_do_it_cb(PurpleBlistNode *node, const char *note)
30 { 30 {
31 } 31 }
32 32
33 static void 33 static void
34 do_it_cb(PurpleBListNode *node, const char *note) 34 do_it_cb(PurpleBlistNode *node, const char *note)
35 { 35 {
36 purple_blist_node_set_string(node, "notes", note); 36 purple_blist_node_set_string(node, "notes", note);
37 } 37 }
38 38
39 static void 39 static void
40 buddynote_edit_cb(PurpleBListNode *node, gpointer data) 40 buddynote_edit_cb(PurpleBlistNode *node, gpointer data)
41 { 41 {
42 const char *note; 42 const char *note;
43 43
44 note = purple_blist_node_get_string(node, "notes"); 44 note = purple_blist_node_get_string(node, "notes");
45 45
52 NULL, NULL, NULL, 52 NULL, NULL, NULL,
53 node); 53 node);
54 } 54 }
55 55
56 static void 56 static void
57 buddynote_extended_menu_cb(PurpleBListNode *node, GList **m) 57 buddynote_extended_menu_cb(PurpleBlistNode *node, GList **m)
58 { 58 {
59 PurpleMenuAction *bna = NULL; 59 PurpleMenuAction *bna = NULL;
60 60
61 if (purple_blist_node_get_dont_save(node)) 61 if (purple_blist_node_get_dont_save(node))
62 return; 62 return;

mercurial