Added some calls to gdk_rgb_init, so it's much more likely to correctly

initialize now.
This commit is contained in:
Raph Levien 1998-08-22 05:41:32 +00:00
parent 6cfad41c09
commit db10ace6c8
8 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
* 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 <pavlov@gimp.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
such as GtkCTree function name changes

View File

@ -1,3 +1,8 @@
Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
* 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 <pavlov@gimp.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
such as GtkCTree function name changes

View File

@ -1,3 +1,8 @@
Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
* 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 <pavlov@gimp.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
such as GtkCTree function name changes

View File

@ -1,3 +1,8 @@
Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
* 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 <pavlov@gimp.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
such as GtkCTree function name changes

View File

@ -1,3 +1,8 @@
Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
* 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 <pavlov@gimp.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
such as GtkCTree function name changes

View File

@ -1,3 +1,8 @@
Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
* 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 <pavlov@gimp.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
such as GtkCTree function name changes

View File

@ -1,3 +1,8 @@
Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
* 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 <pavlov@gimp.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
such as GtkCTree function name changes

View File

@ -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;
}