Mercurial > pidgin
comparison src/dialogs.c @ 7367:d81406d44e0d
[gaim-migrate @ 7962]
This fixes the crash in
http://sourceforge.net/tracker/?func=detail&aid=830837&group_id=235&atid=100235
It still doesn't clear the sytem log, but I'm not cool
enough for that anyway.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 29 Oct 2003 04:20:22 +0000 |
parents | 5500f20a4331 |
children | d26b9508d5f8 |
comparison
equal
deleted
inserted
replaced
7366:566eba9a2b2c | 7367:d81406d44e0d |
---|---|
1974 | 1974 |
1975 static void show_clear_log(GtkWidget *w, struct view_log *view) | 1975 static void show_clear_log(GtkWidget *w, struct view_log *view) |
1976 { | 1976 { |
1977 char *text; | 1977 char *text; |
1978 | 1978 |
1979 if (view->clear_handle != NULL) | 1979 if ((view != NULL ) && (view->clear_handle != NULL)) |
1980 return; | 1980 return; |
1981 | 1981 |
1982 text = g_strdup_printf(_("You are about to remove the log file for %s. Do you want to continue?"), | 1982 text = g_strdup_printf(_("You are about to remove the log file for %s. Do you want to continue?"), |
1983 view->name); | 1983 view->name); |
1984 view->clear_handle = gaim_request_action(NULL, NULL, _("Remove Log"), | 1984 view->clear_handle = gaim_request_action(NULL, NULL, _("Remove Log"), |