Changed GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID for GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
This commit is contained in:
@ -4386,6 +4386,7 @@ gtk_cell_layout_get_type
|
|||||||
GtkCellArea
|
GtkCellArea
|
||||||
GtkCellAreaClass
|
GtkCellAreaClass
|
||||||
GtkCellCallback
|
GtkCellCallback
|
||||||
|
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
|
||||||
gtk_cell_area_add
|
gtk_cell_area_add
|
||||||
gtk_cell_area_remove
|
gtk_cell_area_remove
|
||||||
gtk_cell_area_has_renderer
|
gtk_cell_area_has_renderer
|
||||||
@ -4415,7 +4416,6 @@ gtk_cell_area_cell_set_valist
|
|||||||
gtk_cell_area_cell_get_valist
|
gtk_cell_area_cell_get_valist
|
||||||
gtk_cell_area_cell_set_property
|
gtk_cell_area_cell_set_property
|
||||||
gtk_cell_area_cell_get_property
|
gtk_cell_area_cell_get_property
|
||||||
GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID
|
|
||||||
gtk_cell_area_is_activatable
|
gtk_cell_area_is_activatable
|
||||||
gtk_cell_area_activate
|
gtk_cell_area_activate
|
||||||
gtk_cell_area_focus
|
gtk_cell_area_focus
|
||||||
|
|||||||
@ -46,6 +46,19 @@ typedef struct _GtkCellAreaClass GtkCellAreaClass;
|
|||||||
typedef struct _GtkCellAreaPrivate GtkCellAreaPrivate;
|
typedef struct _GtkCellAreaPrivate GtkCellAreaPrivate;
|
||||||
typedef struct _GtkCellAreaContext GtkCellAreaContext;
|
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:
|
* GtkCellCallback:
|
||||||
* @renderer: the cell renderer to operate on
|
* @renderer: the cell renderer to operate on
|
||||||
@ -341,10 +354,6 @@ void gtk_cell_area_cell_get_property (GtkCellArea
|
|||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
GValue *value);
|
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 */
|
/* Focus */
|
||||||
gboolean gtk_cell_area_is_activatable (GtkCellArea *area);
|
gboolean gtk_cell_area_is_activatable (GtkCellArea *area);
|
||||||
gboolean gtk_cell_area_activate (GtkCellArea *area,
|
gboolean gtk_cell_area_activate (GtkCellArea *area,
|
||||||
|
|||||||
@ -1401,7 +1401,7 @@ gtk_cell_area_box_set_cell_property (GtkCellArea *area,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID (area, prop_id, pspec);
|
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID (area, prop_id, pspec);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1443,7 +1443,7 @@ gtk_cell_area_box_get_cell_property (GtkCellArea *area,
|
|||||||
g_value_set_enum (value, info->pack);
|
g_value_set_enum (value, info->pack);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID (area, prop_id, pspec);
|
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID (area, prop_id, pspec);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user