From 8dae68fbb3b42d942af8760589b10639eb5b89cf Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 17 Dec 1999 01:21:28 +0000 Subject: [PATCH] Added notice about initializing GdkRGB before using the GdkPixbuf 1999-12-16 Federico Mena Quintero * doc/tmpl/rendering.sgml: Added notice about initializing GdkRGB before using the GdkPixbuf rendering functions. Thanks to Joe Shaw for pointing this out. --- docs/reference/gdk-pixbuf/tmpl/rendering.sgml | 8 ++++++++ gdk-pixbuf/ChangeLog | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/docs/reference/gdk-pixbuf/tmpl/rendering.sgml b/docs/reference/gdk-pixbuf/tmpl/rendering.sgml index 9eb3562dd8..68e5f616eb 100644 --- a/docs/reference/gdk-pixbuf/tmpl/rendering.sgml +++ b/docs/reference/gdk-pixbuf/tmpl/rendering.sgml @@ -20,6 +20,14 @@ Rendering a pixbuf to a GDK drawable. and use that to draw the image onto a drawable. + + + Since these functions use GdkRGB for rendering, you must + initialize GdkRGB before using any of them. You can do this by + calling gdk_rgb_init() near the beginning of your program. + + + GdkRGB diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index bcf425cee9..21ef624a0d 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,9 @@ +1999-12-16 Federico Mena Quintero + + * doc/tmpl/rendering.sgml: Added notice about initializing GdkRGB + before using the GdkPixbuf rendering functions. Thanks to Joe + Shaw for pointing this out. + 1999-12-13 Federico Mena Quintero * gdk-pixbuf/gnome-canvas-pixbuf.c