moz->MyBrowser->mPrefs->SetIntPref(pref, (int)data);
prefs->SetIntPref(pref, (int)data);
void MozSetPreference(PtWidget_t *widget, int type, char *pref, void *data){	PtMozillaWidget_t *moz = (PtMozillaWidget_t *) widget;	switch (type)	{		case Pt_MOZ_PREF_CHAR:			moz->MyBrowser->mPrefs->SetCharPref(pref, (char *)data);			break;		case Pt_MOZ_PREF_BOOL:			moz->MyBrowser->mPrefs->SetBoolPref(pref, (int)data);			break;		case Pt_MOZ_PREF_INT:			moz->MyBrowser->mPrefs->SetIntPref(pref, (int)data);			break;		case Pt_MOZ_PREF_COLOR:// not supported yet//			moz->MyBrowser->mPrefs->SetColorPrefDWord(pref, (uint32) data);			break;	}}