comparison src/away.c @ 1000:91b7377e7b45

[gaim-migrate @ 1010] Plugins work again, I think. There may still be some bugginess. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 16 Oct 2000 20:11:18 +0000
parents fa681641643d
children 77b6bc7288d3
comparison
equal deleted inserted replaced
999:0b5db8cdd30f 1000:91b7377e7b45
60 imaway=NULL; 60 imaway=NULL;
61 } 61 }
62 62
63 serv_set_away(NULL); 63 serv_set_away(NULL);
64 awaymessage = NULL; 64 awaymessage = NULL;
65 plugin_event(event_back, 0, 0, 0); 65 plugin_event(event_back, 0, 0, 0, 0);
66 } 66 }
67 67
68 void do_away_message(GtkWidget *w, struct away_message *a) 68 void do_away_message(GtkWidget *w, struct away_message *a)
69 { 69 {
70 GtkWidget *back; 70 GtkWidget *back;
160 buf2 = g_malloc(strlen(awaymessage->message)*4 + 1); 160 buf2 = g_malloc(strlen(awaymessage->message)*4 + 1);
161 strcpy(buf2, awaymessage->message); 161 strcpy(buf2, awaymessage->message);
162 serv_set_away(buf2); 162 serv_set_away(buf2);
163 g_free(buf2); 163 g_free(buf2);
164 gtk_widget_show(imaway); 164 gtk_widget_show(imaway);
165 plugin_event(event_away, 0, 0, 0); 165 plugin_event(event_away, 0, 0, 0, 0);
166 } 166 }
167 167
168 void rem_away_mess(GtkWidget *w, struct away_message *a) 168 void rem_away_mess(GtkWidget *w, struct away_message *a)
169 { 169 {
170 #ifdef USE_APPLET 170 #ifdef USE_APPLET