diff options
author | jacob berkman <jacob@ximian.com> | 2001-10-28 16:49:56 +0000 |
---|---|---|
committer | Jacob Berkman <jberkman@src.gnome.org> | 2001-10-28 16:49:56 +0000 |
commit | 96462944bfc51088a441c87ddcd739c425f63304 (patch) | |
tree | d35ded99ab366775988e7cae8ed55e45b8536c25 /docs/Changes-2.0.txt | |
parent | 1b6f92f885952ce455e6fad79a4817f4af7de58e (diff) | |
download | gdk-pixbuf-96462944bfc51088a441c87ddcd739c425f63304.tar.gz |
do not call gtk_settings_get_default() here as that requires an X
2001-10-28 jacob berkman <jacob@ximian.com>
* gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call
gtk_settings_get_default() here as that requires an X connection
(which breaks doc building with no X connection) and is not
multihead safe
(gtk_color_selection_init): delay palette loading until realize
time
(gtk_color_selection_realize): load the palette, and initialize
the global palette if it hasn't been already
* gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the
visual/cmap fields of klass->info since they are gone
(gtk_preview_get_visual): just return gdk_rgb_get_visual ()
(gtk_preview_get_cmap): just return gdk_rgb_get_colormap ()
(gtk_preview_realize): don't set VISUAL and COLORMAP attributes
* gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and
cmap fields
(gtk_preview_get_visual):
(gtk_preview_get_cmap): mark as deprecated
* docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo
changes
Diffstat (limited to 'docs/Changes-2.0.txt')
-rw-r--r-- | docs/Changes-2.0.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/Changes-2.0.txt b/docs/Changes-2.0.txt index 5b7989079..b8ee4f627 100644 --- a/docs/Changes-2.0.txt +++ b/docs/Changes-2.0.txt @@ -502,3 +502,9 @@ Incompatible Changes from GTK+-1.2 to GTK+-2.0: If you aren't using GDK and GTK+ functions from multiple threads, there is no reason to call gdk_threads_init(). + +* The GtkPreviewInfo struct has had its visual and colormap fields + removed. Also, gtk_preview_get_cmap() and gtk_preview_get_visual() + are deprecated, as GdkRgb works on any colormap and visual. You no + longer need to gtk_widget_push_cmap (gtk_preview_get_cmap ()) in + your code. |