summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-27 14:55:18 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-29 12:45:49 -0500
commit4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd (patch)
tree6538e74167af906319ea494a08d831881fea5365 /gtk/gtkstylecontext.c
parent768bc44081550be18ee19697ed36b5f92298ef11 (diff)
downloadgtk+-4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd.tar.gz
docs: Identify examples that are C code
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gtk/gtkstylecontext.c')
-rw-r--r--gtk/gtkstylecontext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index cee9d65cc7..f8b6064eab 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -101,7 +101,7 @@
* </para>
* <example>
* <title>Using an enumeration to identify animatable regions</title>
- * |[
+ * |[<!-- language="C" -->
* enum {
* REGION_ENTRY,
* REGION_BUTTON_UP,
@@ -138,7 +138,7 @@
* </para>
* <example>
* <title>Using struct pointers to identify animatable regions</title>
- * |[
+ * |[<!-- language="C" -->
* void
* notebook_draw_tab (GtkWidget *widget,
* NotebookPage *page,
@@ -156,7 +156,7 @@
* </para>
* <example>
* <title>Triggering a state change animation on a region</title>
- * |[
+ * |[<!-- language="C" -->
* gboolean
* notebook_motion_notify (GtkWidget *widget,
* GdkEventMotion *event)
@@ -2940,7 +2940,7 @@ gtk_style_context_lookup_color (GtkStyleContext *context,
*
* As a practical example, a #GtkButton notifying a state transition on
* the prelight state:
- * |[
+ * |[<!-- language="C" -->
* gtk_style_context_notify_state_change (context,
* gtk_widget_get_window (widget),
* NULL,