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:
@ -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
|
||||
|
Reference in New Issue
Block a user