summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk_colorsel.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-06-25 23:52:29 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-06-25 23:52:29 +0000
commit2f0c4e4aa87209194f8fcb1296525a032d00f8c6 (patch)
treeeb73cc608a66d87fcd6808a03a820a6db9ef139c /mixgtk/mixgtk_colorsel.c
parenta934de6c26ede02f0c988d45b16183ce578d57a1 (diff)
downloadmdk-2f0c4e4aa87209194f8fcb1296525a032d00f8c6.tar.gz
mdk-2f0c4e4aa87209194f8fcb1296525a032d00f8c6.tar.bz2
hot split/unsplit
Diffstat (limited to 'mixgtk/mixgtk_colorsel.c')
-rw-r--r--mixgtk/mixgtk_colorsel.c12
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)
{