summaryrefslogtreecommitdiff
path: root/gtk/gtkcellarea.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-12-04 20:52:03 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-12-04 20:52:03 +0900
commitb0f849eafd6c56a052a1ea8930bcff3bb0cfbc15 (patch)
tree40678edd3b79b09deec9c5a5e58e5c4ab69a7441 /gtk/gtkcellarea.h
parent9c7e00f744e571393a25bb0a939b6df16507ed17 (diff)
downloadgtk+-b0f849eafd6c56a052a1ea8930bcff3bb0cfbc15.tar.gz
Changed GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID for GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
Diffstat (limited to 'gtk/gtkcellarea.h')
-rw-r--r--gtk/gtkcellarea.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/gtk/gtkcellarea.h b/gtk/gtkcellarea.h
index 874a863c2b..cf396c638a 100644
--- a/gtk/gtkcellarea.h
+++ b/gtk/gtkcellarea.h
@@ -47,6 +47,19 @@ typedef struct _GtkCellAreaPrivate GtkCellAreaPrivate;
typedef struct _GtkCellAreaContext GtkCellAreaContext;
/**
+ * GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID:
+ * @object: the #GObject on which set_cell_property() or get_get_property()
+ * was called
+ * @property_id: the numeric id of the property
+ * @pspec: the #GParamSpec of the property
+ *
+ * This macro should be used to emit a standard warning about unexpected
+ * properties in set_cell_property() and get_cell_property() implementations.
+ */
+#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))
+
+/**
* GtkCellCallback:
* @renderer: the cell renderer to operate on
* @data: user-supplied data
@@ -341,10 +354,6 @@ void gtk_cell_area_cell_get_property (GtkCellArea
const gchar *property_name,
GValue *value);
-#define GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID(object, property_id, pspec) \
- G_OBJECT_WARN_INVALID_PSPEC ((object), "cell property id", (property_id), (pspec))
-
-
/* Focus */
gboolean gtk_cell_area_is_activatable (GtkCellArea *area);
gboolean gtk_cell_area_activate (GtkCellArea *area,