diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-27 14:55:18 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-29 12:45:49 -0500 |
commit | 4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd (patch) | |
tree | 6538e74167af906319ea494a08d831881fea5365 /gtk/gtkcellarea.c | |
parent | 768bc44081550be18ee19697ed36b5f92298ef11 (diff) | |
download | gtk+-4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd.tar.gz |
docs: Identify examples that are C code
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gtk/gtkcellarea.c')
-rw-r--r-- | gtk/gtkcellarea.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c index 583072fd66..ae19c18020 100644 --- a/gtk/gtkcellarea.c +++ b/gtk/gtkcellarea.c @@ -74,7 +74,7 @@ * of a #GtkTreeModel one would do the following: * <example> * <title>Requesting the width of a handful of GtkTreeModel rows</title> - * |[ + * |[<!-- language="C" --> * GtkTreeIter iter; * gint minimum_width; * gint natural_width; @@ -110,7 +110,7 @@ * take up the full width of the layouting widget would look like: * <example> * <title>A typical get_preferred_width(<!-- -->) implementation</title> - * |[ + * |[<!-- language="C" --> * static void * foo_get_preferred_width (GtkWidget *widget, * gint *minimum_size, @@ -142,7 +142,7 @@ * root level of a #GtkTreeModel one would do the following: * <example> * <title>Requesting the height for width of a handful of GtkTreeModel rows</title> - * |[ + * |[<!-- language="C" --> * GtkTreeIter iter; * gint minimum_height; * gint natural_height; @@ -199,7 +199,7 @@ * runs as follows: * <example> * <title>Requesting the width of a handful of GtkTreeModel rows</title> - * |[ + * |[<!-- language="C" --> * GtkAllocation allocation; * GdkRectangle cell_area = { 0, }; * GtkTreeIter iter; @@ -264,7 +264,7 @@ * should be implemented: * <example> * <title>Implementing keyboard focus navigation</title> - * |[ + * |[<!-- language="C" --> * static gboolean * foo_focus (GtkWidget *widget, * GtkDirectionType direction) |