Bug 280740 Installer crashes in choose install components dialog

patch by sunil@atc.tcs.co.in r=bryner sr=dveditz
This commit is contained in:
timeless%mozdev.org 2005-03-23 04:22:39 +00:00
Родитель 1ed1ce9f03
Коммит b746dee6ab
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -308,7 +308,7 @@ nsComponentsDlg::Show()
GdkPixmap *checked = NULL;
GdkBitmap *un_mask = NULL;
GdkPixmap *unchecked = NULL;
gchar *dummy = "";
gchar *dummy[2] = { " ", " " };
nsComponent *currComp = sCustomST->GetComponents()->GetHead();
GtkWidget *descLongTable = NULL;
GtkWidget *frame = NULL;
@ -327,7 +327,7 @@ nsComponentsDlg::Show()
// determine number of rows we'll need
numRows = sCustomST->GetComponents()->GetLengthVisible();
for (i = 0; i < numRows; i++)
gtk_clist_append(GTK_CLIST(list), &dummy);
gtk_clist_append(GTK_CLIST(list), dummy);
style = gtk_widget_get_style(gCtx->window);
checked = gdk_pixmap_create_from_xpm_d(gCtx->window->window, &ch_mask,