- value_destroy (&v, var_get_width (dialog->pv));
-}
-
-
-/* Callback for when the Value Labels dialog is closed using
- the OK button.*/
-static gint
-val_labs_ok (GtkWidget *w, gpointer data)
-{
- struct val_labs_dialog *dialog = data;
-
- var_set_value_labels (dialog->pv, dialog->labs);
-
- val_labs_destroy (dialog->labs);
-
- dialog->labs = NULL;
-
- gtk_widget_hide (dialog->window);
-
- return FALSE;
-}
-
-/* Callback for when the Value Labels dialog is closed using
- the Cancel button.*/
-static void
-val_labs_cancel (struct val_labs_dialog *dialog)
-{
- val_labs_destroy (dialog->labs);
-
- dialog->labs = NULL;
-
- gtk_widget_hide (dialog->window);
-}
-
-
-/* Callback for when the Value Labels dialog is closed using
- the Cancel button.*/
-static void
-on_cancel (GtkWidget *w, gpointer data)
-{
- struct val_labs_dialog *dialog = data;
-
- val_labs_cancel (dialog);
-}
-
-
-/* Callback for when the Value Labels dialog is closed using
- the window delete button.*/
-static gint
-on_delete (GtkWidget *w, GdkEvent *e, gpointer data)
-{
- struct val_labs_dialog *dialog = data;
-
- val_labs_cancel (dialog);
-
- return TRUE;