Mercurial > pidgin.yaz
comparison src/away.c @ 136:4e91b92f91a7
[gaim-migrate @ 146]
Added event_back and event_buddy_back events.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 19 Apr 2000 07:57:20 +0000 |
parents | e277d5f0c1dd |
children | 83dd297aa363 |
comparison
equal
deleted
inserted
replaced
135:e9852a08f9c6 | 136:4e91b92f91a7 |
---|---|
67 imaway=NULL; | 67 imaway=NULL; |
68 } | 68 } |
69 | 69 |
70 serv_set_away(NULL); | 70 serv_set_away(NULL); |
71 awaymessage = NULL; | 71 awaymessage = NULL; |
72 #ifdef GAIM_PLUGINS | |
73 { | |
74 GList *c = callbacks; | |
75 struct gaim_callback *g; | |
76 void (*function)(void *); | |
77 while (c) { | |
78 g = (struct gaim_callback *)c->data; | |
79 if (g->event == event_back && g->function != NULL) { | |
80 function = g->function; | |
81 (*function)(g->data); | |
82 } | |
83 c = c->next; | |
84 } | |
85 } | |
86 #endif | |
72 } | 87 } |
73 | 88 |
74 void do_away_message(GtkWidget *w, struct away_message *a) | 89 void do_away_message(GtkWidget *w, struct away_message *a) |
75 { | 90 { |
76 GtkWidget *back; | 91 GtkWidget *back; |
77 GtkWidget *awaytext; | 92 GtkWidget *awaytext; |
78 GtkWidget *vscrollbar; | 93 GtkWidget *vscrollbar; |
79 GtkWidget *bbox; | 94 GtkWidget *bbox; |
80 GtkWidget *vbox; | 95 GtkWidget *vbox; |
81 GtkWidget *topbox; | 96 GtkWidget *topbox; |
82 char *buf2; | 97 char *buf2; |