From 5930089d6965da4bcc7aa11e1f4d67a76c0dd351 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 25 Jun 2001 23:52:29 +0000 Subject: hot split/unsplit --- mixgtk/mixgtk_colorsel.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'mixgtk/mixgtk_colorsel.c') diff --git a/mixgtk/mixgtk_colorsel.c b/mixgtk/mixgtk_colorsel.c index b40f6d2..c257255 100644 --- a/mixgtk/mixgtk_colorsel.c +++ b/mixgtk/mixgtk_colorsel.c @@ -49,7 +49,17 @@ typedef struct static area_id_t areas_[LNO_][ZNO_]; static area_id_t *current_ = NULL; -static GtkWidget *colorseldlg_ = NULL; +static GtkWidget *colorseldlg_ = NULL; + + +void +mixgtk_colorsel_init (void) +{ + color_dialog_ = NULL; + colorseldlg_ = NULL; + current_ = NULL; +} + static void set_area_color_ (GtkWidget *area, const GdkColor *color) { -- cgit v1.2.3