Mercurial > pidgin
comparison src/away.c @ 5560:b7319c094153
[gaim-migrate @ 5961]
It compiles now, but if you use it, you won't have any accounts.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 30 May 2003 03:25:39 +0000 |
parents | 7a64114641c3 |
children | 9eb5b13fd412 |
comparison
equal
deleted
inserted
replaced
5559:f8f1586e8bc3 | 5560:b7319c094153 |
---|---|
337 char *awy = g_object_get_data(obj, "away_state"); | 337 char *awy = g_object_get_data(obj, "away_state"); |
338 | 338 |
339 serv_set_away(gc, awy, NULL); | 339 serv_set_away(gc, awy, NULL); |
340 } | 340 } |
341 | 341 |
342 /* XXX This needs to be fixed, NOW! */ | |
343 extern GtkListStore *prefs_away_store; | |
344 extern GtkWidget *prefs_away_menu; | |
345 | |
342 void do_away_menu() | 346 void do_away_menu() |
343 { | 347 { |
344 GtkWidget *menuitem; | 348 GtkWidget *menuitem; |
345 GtkWidget *remmenu; | 349 GtkWidget *remmenu; |
346 GtkWidget *submenu, *submenu2; | 350 GtkWidget *submenu, *submenu2; |
620 | 624 |
621 awy = g_slist_next(awy); | 625 awy = g_slist_next(awy); |
622 } | 626 } |
623 } | 627 } |
624 } | 628 } |
629 | |
625 if (prefs_away_menu) { | 630 if (prefs_away_menu) { |
626 l = gtk_container_get_children(GTK_CONTAINER(prefs_away_menu)); | 631 l = gtk_container_get_children(GTK_CONTAINER(prefs_away_menu)); |
627 while (l) { | 632 while (l) { |
628 gtk_widget_destroy(GTK_WIDGET(l->data)); | 633 gtk_widget_destroy(GTK_WIDGET(l->data)); |
629 l = l->next; | 634 l = l->next; |