docs: don't try to link to vfuncs

This commit is contained in:
William Jon McCann 2014-01-21 15:47:49 -05:00
parent 650d25cdaf
commit 609a58dcf0
2 changed files with 5 additions and 5 deletions

View File

@ -102,14 +102,14 @@
* exceedingly large amount of rows. The #GtkCellLayout widget in * exceedingly large amount of rows. The #GtkCellLayout widget in
* that case would calculate the required width of the rows in an * that case would calculate the required width of the rows in an
* idle or timeout source (see g_timeout_add()) and when the widget * idle or timeout source (see g_timeout_add()) and when the widget
* is requested its actual width in #GtkWidgetClass.get_preferred_width() * is requested its actual width in #GtkWidgetClass.get_preferred_width(<!-- -->)
* it can simply consult the width accumulated so far in the * it can simply consult the width accumulated so far in the
* #GtkCellAreaContext object. * #GtkCellAreaContext object.
* *
* A simple example where rows are rendered from top to bottom and * A simple example where rows are rendered from top to bottom and
* take up the full width of the layouting widget would look like: * take up the full width of the layouting widget would look like:
* <example> * <example>
* <title>A typical get_preferred_width() implementation</title> * <title>A typical get_preferred_width(<!-- -->) implementation</title>
* <programlisting> * <programlisting>
* static void * static void
* foo_get_preferred_width (GtkWidget *widget, * foo_get_preferred_width (GtkWidget *widget,
@ -180,7 +180,7 @@
* synchronously. The reasoning here is that any layouting widget is * synchronously. The reasoning here is that any layouting widget is
* at least capable of synchronously calculating enough height to fill * at least capable of synchronously calculating enough height to fill
* the screen height (or scrolled window height) in response to a single * the screen height (or scrolled window height) in response to a single
* call to #GtkWidgetClass.get_preferred_height_for_width(). Returning * call to #GtkWidgetClass.get_preferred_height_for_width(<!-- -->). Returning
* a perfect height for width that is larger than the screen area is * a perfect height for width that is larger than the screen area is
* inconsequential since after the layouting receives an allocation * inconsequential since after the layouting receives an allocation
* from a scrolled window it simply continues to drive the scrollbar * from a scrolled window it simply continues to drive the scrollbar

View File

@ -46,13 +46,13 @@ typedef struct _GtkCellAreaContext GtkCellAreaContext;
/** /**
* GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID: * GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID:
* @object: the #GObject on which set_cell_property() or get_get_property() * @object: the #GObject on which set_cell_property(<!-- -->) or get_cell_property(<!-- -->)
* was called * was called
* @property_id: the numeric id of the property * @property_id: the numeric id of the property
* @pspec: the #GParamSpec of the property * @pspec: the #GParamSpec of the property
* *
* This macro should be used to emit a standard warning about unexpected * This macro should be used to emit a standard warning about unexpected
* properties in set_cell_property() and get_cell_property() implementations. * properties in set_cell_property(<!-- -->) and get_cell_property(<!-- -->) implementations.
*/ */
#define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec) \ #define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec) \
G_OBJECT_WARN_INVALID_PSPEC ((object), "cell property id", (property_id), (pspec)) G_OBJECT_WARN_INVALID_PSPEC ((object), "cell property id", (property_id), (pspec))