forked from AuroraMiddleware/gtk
gtk3-demo: Don't leak the color chooser
This commit is contained in:
parent
3a752658ab
commit
c63c1caac0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user