diff options
-rw-r--r-- | docs/reference/gdk-pixbuf/gdk-pixbuf.sgml | 8 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-loader.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-scale.c | 33 |
3 files changed, 23 insertions, 22 deletions
diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf.sgml b/docs/reference/gdk-pixbuf/gdk-pixbuf.sgml index b19896b08..91264149b 100644 --- a/docs/reference/gdk-pixbuf/gdk-pixbuf.sgml +++ b/docs/reference/gdk-pixbuf/gdk-pixbuf.sgml @@ -10,8 +10,8 @@ <!entity gdk-pixbuf-util SYSTEM "sgml/util.sgml"> <!entity gdk-pixbuf-animation SYSTEM "sgml/animation.sgml"> <!entity GdkPixbufLoader SYSTEM "sgml/gdk-pixbuf-loader.sgml"> -<!entity module_interface SYSTEM "sgml/module_interface.sgml"> -<!entity initialization_versions SYSTEM "sgml/initialization_versions.sgml"> +<!entity module-interface SYSTEM "sgml/module_interface.sgml"> +<!entity initialization-versions SYSTEM "sgml/initialization_versions.sgml"> <!entity gdk-pixbuf-gdk-pixbuf-xlib-init SYSTEM "sgml/gdk-pixbuf-xlib-init.sgml"> <!entity gdk-pixbuf-gdk-pixbuf-xlib-rendering SYSTEM "sgml/gdk-pixbuf-xlib-rendering.sgml"> <!entity gdk-pixbuf-gdk-pixbuf-xlib-from-drawables SYSTEM "sgml/gdk-pixbuf-xlib-from-drawables.sgml"> @@ -87,7 +87,7 @@ </para> </partintro> - &initialization_versions; + &initialization-versions; &gdk-pixbuf-gdk-pixbuf; &gdk-pixbuf-refcounting; @@ -100,7 +100,7 @@ &gdk-pixbuf-animation; &GdkPixbufLoader; - &module_interface; + &module-interface; &gdk-pixbuf-gdk-pixbuf-xlib-init; &gdk-pixbuf-gdk-pixbuf-xlib-rendering; diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c index 0149357b2..1a9e61fb3 100644 --- a/gdk-pixbuf/gdk-pixbuf-loader.c +++ b/gdk-pixbuf/gdk-pixbuf-loader.c @@ -438,13 +438,13 @@ gdk_pixbuf_loader_new_with_type (const char *image_type, * @loader: A pixbuf loader. * * Queries the GdkPixbuf that a pixbuf loader is currently creating. - * In general it only makes sense to call this function afer the + * In general it only makes sense to call this function after the * "area_prepared" signal has been emitted by the loader; this means * that enough data has been read to know the size of the image that * will be allocated. If the loader has not received enough data via * gdk_pixbuf_loader_write(), then this function returns %NULL. The * returned pixbuf will be the same in all future calls to the loader, - * so simply calling gdk_pixbuf_ref() should be sufficient to continue + * so simply calling g_object_ref() should be sufficient to continue * using it. Additionally, if the loader is an animation, it will * return the "static image" of the animation * (see gdk_pixbuf_animation_get_static_image()). diff --git a/gdk-pixbuf/gdk-pixbuf-scale.c b/gdk-pixbuf/gdk-pixbuf-scale.c index 02169a8f6..355374b23 100644 --- a/gdk-pixbuf/gdk-pixbuf-scale.c +++ b/gdk-pixbuf/gdk-pixbuf-scale.c @@ -41,10 +41,11 @@ * @scale_y: the scale factor in the Y direction * @interp_type: the interpolation type for the transformation. * - * Transforms the image by source image by scaling by @scale_x and @scale_y then - * translating by @offset_x and @offset_y, then renders the rectangle - * (@dest,@dest_y,@dest_width,@dest_height) of the resulting image onto the - * destination drawable replacing the previous contents. + * Transforms the source image @src by scaling by @scale_x and + * @scale_y then translating by @offset_x and @offset_y, then renders + * the rectangle (@dest_x, @dest_y, @dest_width, @dest_height) of the + * resulting image onto the destination image replacing the + * previous contents. **/ void gdk_pixbuf_scale (const GdkPixbuf *src, @@ -91,10 +92,10 @@ gdk_pixbuf_scale (const GdkPixbuf *src, * @interp_type: the interpolation type for the transformation. * @overall_alpha: overall alpha for source image (0..255) * - * Transforms the image by source image by scaling by @scale_x and @scale_y then - * translating by @offset_x and @offset_y, then composites the rectangle - * (@dest,@dest_y,@dest_width,@dest_height) of the resulting image onto the - * destination drawable. + * Transforms the source image @src by scaling by @scale_x and + * @scale_y then translating by @offset_x and @offset_y, then + * composites the rectangle (@dest_x, @dest_y, @dest_width, + * @dest_height) of the resulting image onto the destination image. **/ void gdk_pixbuf_composite (const GdkPixbuf *src, @@ -147,11 +148,11 @@ gdk_pixbuf_composite (const GdkPixbuf *src, * @color1: the color of check at upper left * @color2: the color of the other check * - * Transforms the image by source image by scaling by @scale_x and @scale_y then + * Transforms the source image @src by scaling by @scale_x and @scale_y then * translating by @offset_x and @offset_y, then composites the rectangle - * (@dest,@dest_y,@dest_width,@dest_height) of the resulting image with + * (@dest_x ,@dest_y, @dest_width, @dest_height) of the resulting image with * a checkboard of the colors @color1 and @color2 and renders it onto the - * destination drawable. + * destination image. **/ void gdk_pixbuf_composite_color (const GdkPixbuf *src, @@ -198,8 +199,8 @@ gdk_pixbuf_composite_color (const GdkPixbuf *src, * @dest_height: the height of destination image * @interp_type: the interpolation type for the transformation. * - * Scale the #GdkPixbuf @src to @dest_width x @dest_height and render the result into - * a new #GdkPixbuf. + * Scale the #GdkPixbuf @src to @dest_width x @dest_height and render + * the result into a new #GdkPixbuf. * * Return value: the new #GdkPixbuf, or NULL if not enough memory could be * allocated for it. @@ -239,9 +240,9 @@ gdk_pixbuf_scale_simple (const GdkPixbuf *src, * @color1: the color of check at upper left * @color2: the color of the other check * - * Scale the #GdkPixbuf @src to @dest_width x @dest_height composite the result with - * a checkboard of colors @color1 and @color2 and render the result into - * a new #GdkPixbuf. + * Scale the #GdkPixbuf @src to @dest_width x @dest_height composite + * the result with a checkboard of colors @color1 and @color2 and + * render the result into a new #GdkPixbuf. * * Return value: the new #GdkPixbuf, or NULL if not enough memory could be * allocated for it. |