Mercurial > pidgin.yaz
comparison src/protocols/zephyr/zephyr.c @ 6059:d8cd876e613e
[gaim-migrate @ 6509]
I made a lot of server.c functions use const chat * instead of const *
Made the alias entry have focus in the alias buddy dialog.
Fixed a typo thanks to J. Silvestri
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 08 Jul 2003 03:36:41 +0000 |
parents | 7d385de2f9cd |
children | 8f94cce8faa5 |
comparison
equal
deleted
inserted
replaced
6058:d5f4ae4f9a02 | 6059:d8cd876e613e |
---|---|
739 z_call(ZUnsetLocation()); | 739 z_call(ZUnsetLocation()); |
740 z_call(ZClosePort()); | 740 z_call(ZClosePort()); |
741 } | 741 } |
742 | 742 |
743 static void zephyr_add_buddy(GaimConnection *gc, const char *buddy) { } | 743 static void zephyr_add_buddy(GaimConnection *gc, const char *buddy) { } |
744 static void zephyr_remove_buddy(GaimConnection *gc, char *buddy, char *group) { } | 744 static void zephyr_remove_buddy(GaimConnection *gc, const char *buddy, const char *group) { } |
745 | 745 |
746 static int zephyr_chat_send(GaimConnection *gc, int id, char *im) | 746 static int zephyr_chat_send(GaimConnection *gc, int id, const char *im) |
747 { | 747 { |
748 ZNotice_t notice; | 748 ZNotice_t notice; |
749 zephyr_triple *zt; | 749 zephyr_triple *zt; |
750 char *buf; | 750 char *buf; |
751 const char *sig; | 751 const char *sig; |
851 m = g_list_append(m, pbm); | 851 m = g_list_append(m, pbm); |
852 | 852 |
853 return m; | 853 return m; |
854 } | 854 } |
855 | 855 |
856 static void zephyr_set_away(GaimConnection *gc, char *state, char *msg) | 856 static void zephyr_set_away(GaimConnection *gc, const char *state, const char *msg) |
857 { | 857 { |
858 if (gc->away) { | 858 if (gc->away) { |
859 g_free(gc->away); | 859 g_free(gc->away); |
860 gc->away = NULL; | 860 gc->away = NULL; |
861 } | 861 } |