Mercurial > pidgin
comparison plugins/gtik.c @ 1047:ece2d1543b20
[gaim-migrate @ 1057]
Plugins now use GModule. Protocol plugins can be dynamically updated.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 01 Nov 2000 22:30:36 +0000 |
parents | 50489ea9f4ec |
children | 50c7a704ee56 |
comparison
equal
deleted
inserted
replaced
1046:4593605da0e2 | 1047:ece2d1543b20 |
---|---|
823 | 823 |
824 | 824 |
825 | 825 |
826 | 826 |
827 /*-----------------------------------------------------------------*/ | 827 /*-----------------------------------------------------------------*/ |
828 int gaim_plugin_init(void *handle) { /* used to be main() */ | 828 char *gaim_plugin_init(GModule *handle) { /* used to be main() */ |
829 GtkWidget *label; | 829 GtkWidget *label; |
830 | 830 |
831 GtkWidget * vbox; | 831 GtkWidget * vbox; |
832 | 832 |
833 memset(configFileName,0,sizeof(configFileName)); | 833 memset(configFileName,0,sizeof(configFileName)); |
875 drawTimeID = gtk_timeout_add(2,Repaint,drawing_area); | 875 drawTimeID = gtk_timeout_add(2,Repaint,drawing_area); |
876 updateTimeID = gtk_timeout_add(props.timeout * 60000, | 876 updateTimeID = gtk_timeout_add(props.timeout * 60000, |
877 (gpointer)updateOutput,"NULL"); | 877 (gpointer)updateOutput,"NULL"); |
878 | 878 |
879 | 879 |
880 return 0; | 880 return NULL; |
881 } | 881 } |
882 | 882 |
883 | 883 |
884 | 884 |
885 /*-----------------------------------------------------------------*/ | 885 /*-----------------------------------------------------------------*/ |