forked from AuroraMiddleware/gtk
gtk-demo: fix the colorsel example
It is necessary to hide the dialog on "response", else it won't go away.
This commit is contained in:
parent
d52417512c
commit
b1c28151f6
@ -40,6 +40,8 @@ response_cb (GtkDialog *dialog,
|
||||
gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER (dialog), &color);
|
||||
gtk_widget_override_background_color (da, 0, &color);
|
||||
}
|
||||
|
||||
gtk_widget_hide (GTK_WIDGET (dialog));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user