src/protocols/zephyr/zephyr.c

changeset 5202
2c78987f497b
parent 5136
81079a81ebc6
child 5205
242b8aa81328
equal deleted inserted replaced
5201:413c376e3e41 5202:2c78987f497b
943 zt->open = FALSE; 943 zt->open = FALSE;
944 zt->id = ++last_id; 944 zt->id = ++last_id;
945 } 945 }
946 } 946 }
947 947
948 static const char *zephyr_list_icon(struct gaim_account *a, struct buddy *b)
949 {
950 return "zephyr";
951 }
952
948 static struct prpl *my_protocol = NULL; 953 static struct prpl *my_protocol = NULL;
949 954
950 void zephyr_init(struct prpl *ret) 955 void zephyr_init(struct prpl *ret)
951 { 956 {
952 ret->protocol = PROTO_ZEPHYR; 957 ret->protocol = PROTO_ZEPHYR;
953 ret->options = OPT_PROTO_NO_PASSWORD; 958 ret->options = OPT_PROTO_NO_PASSWORD;
954 ret->name = g_strdup("Zephyr"); 959 ret->name = g_strdup("Zephyr");
960 ret->list_icon = zephyr_list_icon;
955 ret->login = zephyr_login; 961 ret->login = zephyr_login;
956 ret->close = zephyr_close; 962 ret->close = zephyr_close;
957 ret->add_buddy = zephyr_add_buddy; 963 ret->add_buddy = zephyr_add_buddy;
958 ret->remove_buddy = zephyr_remove_buddy; 964 ret->remove_buddy = zephyr_remove_buddy;
959 ret->send_im = zephyr_send_im; 965 ret->send_im = zephyr_send_im;

mercurial