rem: gtk_signal_connect(GTK_OBJECT(screen.color_selection_popup), "destroy",
add: gtk_signal_connect(GTK_OBJECT(screen.win.color_selection), "destroy",
context: color_selection_popup(GtkWidget *widget, gpointer data){    gdouble curr_color[4];    int background = (long int)data;    if (!background && (screen.file[screen.curr_index] == NULL))	return;    screen.color_selection_popup = gtk_color_selection_dialog_new("Color Selection");    gtk_color_selection_set_update_policy	(GTK_COLOR_SELECTION	 (GTK_COLOR_SELECTION_DIALOG(screen.color_selection_popup)->colorsel),	 GTK_UPDATE_CONTINUOUS);    gtk_signal_connect	(GTK_OBJECT	 (GTK_COLOR_SELECTION_DIALOG(screen.color_selection_popup)->cancel_button),	 "clicked", GTK_SIGNAL_FUNC(color_selection_destroy), NULL);    gtk_signal_connect	(GTK_OBJECT	 (GTK_COLOR_SELECTION_DIALOG(screen.color_selection_popup)->ok_button),	 "clicked", GTK_SIGNAL_FUNC(color_selection_ok), data);    gtk_signal_connect(GTK_OBJECT(screen.color_selection_popup), "destroy",		       GTK_SIGNAL_FUNC(color_selection_destroy),		       NULL);    /* Get current color and use it as a start in color selection dialog */    if (background) {	curr_color[0] = (gdouble)screen.background->red / 	    (gdouble)MAX_COLOR_RESOLUTION;	curr_color[1] = (gdouble)screen.background->green / 	    (gdouble)MAX_COLOR_RESOLUTION;	curr_color[2] = (gdouble)screen.background->blue / 	    (gdouble)MAX_COLOR_RESOLUTION;	curr_color[3] = 0.0; /* Actually don't know how to get this value */    }else {	curr_color[0] = (gdouble)screen.file[screen.curr_index]->color->red / 	    (gdouble)MAX_COLOR_RESOLUTION;	curr_color[1] = (gdouble)screen.file[screen.curr_index]->color->green /	    (gdouble)MAX_COLOR_RESOLUTION;	curr_color[2] = (gdouble)screen.file[screen.curr_index]->color->blue / 	    (gdouble)MAX_COLOR_RESOLUTION;	curr_color[3] = 0.0; /* Actually don't know how to get this value */    }    /* Now set this color in color selection dialog */    gtk_color_selection_set_color	(GTK_COLOR_SELECTION(GTK_COLOR_SELECTION_DIALOG			     (screen.color_selection_popup)->colorsel),	 curr_color);    /* Display widget */    gtk_widget_show(screen.color_selection_popup);    /* Make widget modal */    gtk_grab_add(screen.color_selection_popup);    return;} /* color_selection_popup */