[dia] Fix DiaColorSelector via 'More...' to not destroy the wrong widget
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Fix DiaColorSelector via 'More...' to not destroy the wrong widget
- Date: Fri, 26 Sep 2014 17:35:31 +0000 (UTC)
commit bfa8a6cc36040dd72d49d2dfb83edaf93fe9396e
Author: Hans Breuer <hans breuer org>
Date: Fri Sep 26 19:27:32 2014 +0200
Fix DiaColorSelector via 'More...' to not destroy the wrong widget
lib/diacolorselector.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/lib/diacolorselector.c b/lib/diacolorselector.c
index 90cfc2d..c1b859b 100644
--- a/lib/diacolorselector.c
+++ b/lib/diacolorselector.c
@@ -194,8 +194,7 @@ dia_color_selector_more_ok(GtkWidget *ok, gpointer userdata)
/* update color button */
gtk_color_button_set_color (cs->color_button, &gcol);
gtk_color_button_set_alpha (cs->color_button, galpha);
-
- gtk_widget_destroy(colorsel);
+ /* not destroying colorsel */
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]