Commit db10ace6 authored by Raph Levien's avatar Raph Levien

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

initialize now.
parent 6cfad41c
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment