[gtk+] docs: replace all figures with headings and images
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: replace all figures with headings and images
- Date: Wed, 5 Feb 2014 00:10:10 +0000 (UTC)
commit bf7afa48f898bdfd658d7510f073df74f976cab5
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue Feb 4 17:20:43 2014 -0500
docs: replace all figures with headings and images
gdk/gdkpango.c | 7 +++----
gtk/gtkapplication.c | 18 +++++++++---------
gtk/gtkcssprovider.c | 35 ++++++++++++++++++++---------------
3 files changed, 32 insertions(+), 28 deletions(-)
---
diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c
index b1d4eca..e95d8ce 100644
--- a/gdk/gdkpango.c
+++ b/gdk/gdkpango.c
@@ -119,10 +119,9 @@
* g_object_unref (context);
* ]|
*
- * <figure>
- * <title>Output of <xref linkend="rotated-example"/></title>
- * <graphic fileref="rotated-text.png" format="PNG"/>
- * </figure>
+ * ## Output of <xref linkend="rotated-example"/>
+ *
+ * ![](rotated-text.png)
*/
/* Get a clip region to draw only part of a layout. index_ranges
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index e4cbea9..ae479b4 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -81,17 +81,17 @@
* GTK+ displays these menus as expected, depending on the platform
* the application is running on.
*
- * <figure label="Menu integration in OS X">
- * <graphic fileref="bloatpad-osx.png" format="PNG"/>
- * </figure>
+ * ## Menu integration in OS X
*
- * <figure label="Menu integration in GNOME">
- * <graphic fileref="bloatpad-gnome.png" format="PNG"/>
- * </figure>
+ * ![](bloatpad-osx.png)
*
- * <figure label="Menu integration in Xfce">
- * <graphic fileref="bloatpad-xfce.png" format="PNG"/>
- * </figure>
+ * ## Menu integration in GNOME
+ *
+ * ![](bloatpad-gnome.png)
+ *
+ * ## Menu integration in Xfce
+ *
+ * ![](bloatpad-xfce.png)
*
* ## A simple application ## {#gtkapplication}
*
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index c449175..7f5843c 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -595,21 +595,26 @@
* animation will be repated until the state changes again.
* The option after the duration determines the transition function from a
* small set of predefined functions.
- * <figure><title>Linear transition</title>
- * <graphic fileref="linear.png" format="PNG"/>
- * </figure>
- * <figure><title>Ease transition</title>
- * <graphic fileref="ease.png" format="PNG"/>
- * </figure>
- * <figure><title>Ease-in-out transition</title>
- * <graphic fileref="ease-in-out.png" format="PNG"/>
- * </figure>
- * <figure><title>Ease-in transition</title>
- * <graphic fileref="ease-in.png" format="PNG"/>
- * </figure>
- * <figure><title>Ease-out transition</title>
- * <graphic fileref="ease-out.png" format="PNG"/>
- * </figure>
+ *
+ * ## Linear transition
+ *
+ * ![](linear.png)
+ *
+ * ## Ease transition
+ *
+ * ![](ease.png)
+ *
+ * ## Ease-in-out transition
+ *
+ * ![](ease-in-out.png)
+ *
+ * ## Ease-in transition
+ *
+ * ![](ease-in.png)
+ *
+ * ## Ease-out transition
+ *
+ * ![](ease-out.png)
*
* ## Supported properties
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]