| 42 }; |
42 }; |
| 43 |
43 |
| 44 static gint |
44 static gint |
| 45 delete_win_cb(GtkWidget *w, GdkEvent *event, GevoAssociateBuddyDialog *dialog) |
45 delete_win_cb(GtkWidget *w, GdkEvent *event, GevoAssociateBuddyDialog *dialog) |
| 46 { |
46 { |
| 47 GList *l; |
|
| 48 |
|
| 49 gtk_widget_destroy(dialog->win); |
47 gtk_widget_destroy(dialog->win); |
| 50 |
48 |
| 51 g_list_foreach(dialog->contacts, (GFunc)g_free, NULL); |
49 g_list_foreach(dialog->contacts, (GFunc)g_free, NULL); |
| 52 |
50 |
| 53 if (dialog->contacts != NULL) |
51 if (dialog->contacts != NULL) |