sprintf(string,"Initial size : %lu MB",init>>20);
sprintf(string,"%lu MB",init>>20);
uint8_t DIA_Requant(float *perce,uint32_t *quality, uint64_t init){uint8_t ret=0;char string[1025];		dialog=create_dialog1();	gtk_transient(dialog);			sprintf(string,"Initial size : %lu MB",init>>20);	_init=init;  	gtk_label_set_text(GTK_LABEL(WID(labelInit)),string);	gtk_signal_connect(GTK_OBJECT(WID(hscale1)),"value_changed",GTK_SIGNAL_FUNC(callback),0);		if(gtk_dialog_run(GTK_DIALOG(dialog))==GTK_RESPONSE_OK)	{		GtkAdjustment *sliderAdjustment;		ret=1;		// Read value & speed		sliderAdjustment=gtk_range_get_adjustment (GTK_RANGE(WID(hscale1)));		*perce=(float)GTK_ADJUSTMENT(sliderAdjustment)->value;		*quality=getRangeInMenu(WID(optionmenu1));		if(*quality==2) *quality=3;	}	gtk_widget_destroy(dialog);	dialog=NULL;	return ret;}