summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-scale.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-scale.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-scale.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-scale.c b/gdk-pixbuf/gdk-pixbuf-scale.c
index 89e2f6607..acae7cd66 100644
--- a/gdk-pixbuf/gdk-pixbuf-scale.c
+++ b/gdk-pixbuf/gdk-pixbuf-scale.c
@@ -52,7 +52,7 @@
* with the Sun mediaLib library, these functions are instead accelerated
* using mediaLib, which provides hardware acceleration on Intel, AMD,
* and Sparc chipsets. If desired, mediaLib support can be turned off by
- * setting the GDK_DISABLE_MEDIALIB environment variable.
+ * setting the `GDK_DISABLE_MEDIALIB` environment variable.
*
*
* The following example demonstrates handling an expose event by
@@ -64,11 +64,9 @@
* gdk_pixbuf_composite_color() function has exactly the same effect
* as calling gdk_pixbuf_scale().
*
- *
- * <example>
- * <title>Handling an expose event.</title>
- * <para>
- * <programlisting>
+ * ## Handling an expose event
+ *
+ * |[
* gboolean
* expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
* {
@@ -93,9 +91,7 @@
*
* return TRUE;
* }
- * </programlisting>
- * </para>
- * </example>
+ * ]|
*/
@@ -181,11 +177,8 @@ gdk_pixbuf_scale (const GdkPixbuf *src,
* image, the data at the edges of the source image is replicated
* to infinity.
*
- * <figure id="pixbuf-composite-diagram">
- * <title>Compositing of pixbufs</title>
- * <graphic fileref="composite.png" format="PNG"/>
- * </figure>
- **/
+ * ![](composite.png)
+ */
void
gdk_pixbuf_composite (const GdkPixbuf *src,
GdkPixbuf *dest,