gtk_register_dialog(dialog);
uint8_t DIA_getDecombDecimate(DECIMATE_PARAM *param){GtkWidget *dialog;int ret=0;	dialog=create_dialog1();		// Update		gtk_write_entry_float(WID(entryThresh),param->threshold);	gtk_write_entry_float(WID(entry2),param->threshold2);		MENU_SET(optionmenu1,mode);	MENU_SET(optionmenu2,quality);	SPIN_SET(spinbuttonCycle,cycle);			if(gtk_dialog_run(GTK_DIALOG(dialog))==GTK_RESPONSE_OK)	{		MENU_GET(optionmenu1,mode);		MENU_GET(optionmenu2,quality);		SPIN_GET(spinbuttonCycle,cycle);		#define RD_ENTRY(x,y) {param->y=gtk_read_entry_float(WID(x));}		RD_ENTRY(entryThresh,threshold);		RD_ENTRY(entry2,threshold2);		ret=1;		}	gtk_widget_destroy(dialog);	return ret;}