diff options
author | Benjamin Otte <otte@redhat.com> | 2011-05-02 18:36:14 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-05-02 20:09:17 +0200 |
commit | b102df537034e6b60abf377879b0a55fe3960a78 (patch) | |
tree | 0178e2c2d04ca95f02e0465df59ed05663d878ed /gtk/gtkcellarea.c | |
parent | fb3c16b7ad04ee412dc10320c958307f06efb4cf (diff) | |
download | gtk+-b102df537034e6b60abf377879b0a55fe3960a78.tar.gz |
cellarea: Fix warning messages to display the right type
The warning displayed the type of the area instead of the cell
renderer's type before.
Diffstat (limited to 'gtk/gtkcellarea.c')
-rw-r--r-- | gtk/gtkcellarea.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c index 27ae333db3..0af3c53df5 100644 --- a/gtk/gtkcellarea.c +++ b/gtk/gtkcellarea.c @@ -2266,7 +2266,7 @@ gtk_cell_area_attribute_connect (GtkCellArea *area, g_warning ("Cannot connect attribute `%s' for cell renderer class `%s' " "since `%s' is already attributed to column %d", attribute, - g_type_name (G_TYPE_FROM_INSTANCE (area)), + G_OBJECT_TYPE_NAME (renderer), attribute, cell_attribute->column); return; } @@ -2279,7 +2279,7 @@ gtk_cell_area_attribute_connect (GtkCellArea *area, g_warning ("Cannot connect attribute `%s' for cell renderer class `%s' " "since attribute does not exist", attribute, - g_type_name (G_TYPE_FROM_INSTANCE (area))); + G_OBJECT_TYPE_NAME (renderer)); return; } |