gtk3-demo: Don't leak the color chooser

This commit is contained in:
Matthias Clasen 2014-05-01 21:01:33 -04:00 committed by Carlos Garnacho
parent 3a752658ab
commit c63c1caac0

View File

@ -42,7 +42,7 @@ response_cb (GtkDialog *dialog,
gtk_widget_override_background_color (da, 0, &color); gtk_widget_override_background_color (da, 0, &color);
} }
gtk_widget_hide (GTK_WIDGET (dialog)); gtk_widget_destroy (GTK_WIDGET (dialog));
} }
static void static void