diff options
Diffstat (limited to 'mixgtk/mixgtk_colorsel.c')
-rw-r--r-- | mixgtk/mixgtk_colorsel.c | 12 |
1 files changed, 11 insertions, 1 deletions
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) { |