Mercurial > pidgin
comparison src/server.c @ 9753:60705fd4f411
[gaim-migrate @ 10620]
Move show_about to gtkdialogs.c and namespace it
Remove about.c
A few other minor touchups in gtkdialogs.c
Make serv_warn pass a gboolean instead of an int
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 15 Aug 2004 17:05:51 +0000 |
| parents | b10d4c6ac7eb |
| children | 8651abf08dd5 |
comparison
equal
deleted
inserted
replaced
| 9752:8793c7127c80 | 9753:60705fd4f411 |
|---|---|
| 668 | 668 |
| 669 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->set_idle) | 669 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->set_idle) |
| 670 prpl_info->set_idle(g, time); | 670 prpl_info->set_idle(g, time); |
| 671 } | 671 } |
| 672 | 672 |
| 673 void serv_warn(GaimConnection *g, const char *name, int anon) | 673 void serv_warn(GaimConnection *g, const char *name, gboolean anonymous) |
| 674 { | 674 { |
| 675 GaimPluginProtocolInfo *prpl_info = NULL; | 675 GaimPluginProtocolInfo *prpl_info = NULL; |
| 676 | 676 |
| 677 if (g != NULL && g->prpl != NULL) | 677 if (g != NULL && g->prpl != NULL) |
| 678 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(g->prpl); | 678 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(g->prpl); |
| 679 | 679 |
| 680 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->warn) | 680 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->warn) |
| 681 prpl_info->warn(g, name, anon); | 681 prpl_info->warn(g, name, anonymous); |
| 682 } | 682 } |
| 683 | 683 |
| 684 void serv_join_chat(GaimConnection *g, GHashTable *data) | 684 void serv_join_chat(GaimConnection *g, GHashTable *data) |
| 685 { | 685 { |
| 686 GaimPluginProtocolInfo *prpl_info = NULL; | 686 GaimPluginProtocolInfo *prpl_info = NULL; |
