From db10ace6c86c01e8dc08eb76044ad0e64deb3efb Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Sat, 22 Aug 1998 05:41:32 +0000 Subject: [PATCH] Added some calls to gdk_rgb_init, so it's much more likely to correctly initialize now. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gdk/gdkrgb.c | 2 ++ 8 files changed, 37 insertions(+) diff --git a/ChangeLog b/ChangeLog index 66bf6ea4ec..0113621c4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 21 22:40:00 Raph Levien + + * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and + get_visual calls, so that it gets implicitly initialized. + Fri Aug 21 13:06:04 1998 Stuart Parmenter * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes such as GtkCTree function name changes diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 66bf6ea4ec..0113621c4b 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Fri Aug 21 22:40:00 Raph Levien + + * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and + get_visual calls, so that it gets implicitly initialized. + Fri Aug 21 13:06:04 1998 Stuart Parmenter * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes such as GtkCTree function name changes diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 66bf6ea4ec..0113621c4b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Fri Aug 21 22:40:00 Raph Levien + + * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and + get_visual calls, so that it gets implicitly initialized. + Fri Aug 21 13:06:04 1998 Stuart Parmenter * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes such as GtkCTree function name changes diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 66bf6ea4ec..0113621c4b 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Fri Aug 21 22:40:00 Raph Levien + + * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and + get_visual calls, so that it gets implicitly initialized. + Fri Aug 21 13:06:04 1998 Stuart Parmenter * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes such as GtkCTree function name changes diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 66bf6ea4ec..0113621c4b 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Fri Aug 21 22:40:00 Raph Levien + + * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and + get_visual calls, so that it gets implicitly initialized. + Fri Aug 21 13:06:04 1998 Stuart Parmenter * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes such as GtkCTree function name changes diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 66bf6ea4ec..0113621c4b 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Fri Aug 21 22:40:00 Raph Levien + + * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and + get_visual calls, so that it gets implicitly initialized. + Fri Aug 21 13:06:04 1998 Stuart Parmenter * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes such as GtkCTree function name changes diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 66bf6ea4ec..0113621c4b 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Fri Aug 21 22:40:00 Raph Levien + + * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and + get_visual calls, so that it gets implicitly initialized. + Fri Aug 21 13:06:04 1998 Stuart Parmenter * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes such as GtkCTree function name changes diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index 0e6c0a2eaf..907f9afb77 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -2821,11 +2821,13 @@ gdk_rgb_ditherable (void) GdkColormap * gdk_rgb_get_cmap (void) { + gdk_rgb_init (); return image_info->cmap; } GdkVisual * gdk_rgb_get_visual (void) { + gdk_rgb_init (); return image_info->visual; }