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
commit5930089d6965da4bcc7aa11e1f4d67a76c0dd351 (patch)
treebd5d743b023a4bae6521b06b71a1bc329ca4ba6e /mixgtk/mixgtk_colorsel.c
parent5fbfeb14da470cd6f803497b75d4381ca1e1a9e1 (diff)
downloadmdk-5930089d6965da4bcc7aa11e1f4d67a76c0dd351.tar.gz
mdk-5930089d6965da4bcc7aa11e1f4d67a76c0dd351.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)
{