Mercurial > pidgin.yaz
comparison pidgin/plugins/notify.c @ 18063:926ccb104da0
disapproval of revision '1411afd7660760db59966c3a9f18e2adab8eb27e'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 16 Jun 2007 19:00:35 +0000 |
parents | 4ca97b26a8fb |
children |
comparison
equal
deleted
inserted
replaced
18058:4ca97b26a8fb | 18063:926ccb104da0 |
---|---|
622 } | 622 } |
623 | 623 |
624 static void | 624 static void |
625 apply_method() | 625 apply_method() |
626 { | 626 { |
627 const GList *convs; | 627 GList *convs; |
628 PidginWindow *purplewin = NULL; | 628 PidginWindow *purplewin = NULL; |
629 | 629 |
630 for (convs = purple_get_conversations(); convs != NULL; | 630 for (convs = purple_get_conversations(); convs != NULL; |
631 convs = convs->next) { | 631 convs = convs->next) { |
632 PurpleConversation *conv = (PurpleConversation *)convs->data; | 632 PurpleConversation *conv = (PurpleConversation *)convs->data; |
642 } | 642 } |
643 | 643 |
644 static void | 644 static void |
645 apply_notify() | 645 apply_notify() |
646 { | 646 { |
647 const GList *convs = purple_get_conversations(); | 647 GList *convs = purple_get_conversations(); |
648 | 648 |
649 while (convs) { | 649 while (convs) { |
650 PurpleConversation *conv = (PurpleConversation *)convs->data; | 650 PurpleConversation *conv = (PurpleConversation *)convs->data; |
651 | 651 |
652 /* detach signals */ | 652 /* detach signals */ |
816 } | 816 } |
817 | 817 |
818 static gboolean | 818 static gboolean |
819 plugin_load(PurplePlugin *plugin) | 819 plugin_load(PurplePlugin *plugin) |
820 { | 820 { |
821 const GList *convs = purple_get_conversations(); | 821 GList *convs = purple_get_conversations(); |
822 void *conv_handle = purple_conversations_get_handle(); | 822 void *conv_handle = purple_conversations_get_handle(); |
823 void *gtk_conv_handle = pidgin_conversations_get_handle(); | 823 void *gtk_conv_handle = pidgin_conversations_get_handle(); |
824 | 824 |
825 my_plugin = plugin; | 825 my_plugin = plugin; |
826 | 826 |
858 } | 858 } |
859 | 859 |
860 static gboolean | 860 static gboolean |
861 plugin_unload(PurplePlugin *plugin) | 861 plugin_unload(PurplePlugin *plugin) |
862 { | 862 { |
863 const GList *convs = purple_get_conversations(); | 863 GList *convs = purple_get_conversations(); |
864 | 864 |
865 while (convs) { | 865 while (convs) { |
866 PurpleConversation *conv = (PurpleConversation *)convs->data; | 866 PurpleConversation *conv = (PurpleConversation *)convs->data; |
867 | 867 |
868 /* kill signals */ | 868 /* kill signals */ |