Bug 280740 Installer crashes in choose install components dialog

patch by sunil@atc.tcs.co.in r=bryner sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@171038 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org 2005-03-23 04:22:39 +00:00
parent d32f42b290
commit 503df48c32

View File

@ -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,