[gtk+] inspector: Avoid a compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Avoid a compiler warning
- Date: Tue, 20 May 2014 13:55:32 +0000 (UTC)
commit d606021c347aa61581dd7e906cc015ec945360d0
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 20 09:45:50 2014 -0400
inspector: Avoid a compiler warning
...and a pointless cast, too.
gtk/inspector/prop-list.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c
index ad5dffe..0c9b3b1 100644
--- a/gtk/inspector/prop-list.c
+++ b/gtk/inspector/prop-list.c
@@ -242,7 +242,7 @@ gtk_inspector_prop_list_update_prop (GtkInspectorPropList *pl,
if (GTK_IS_CELL_RENDERER (pl->priv->object))
{
gpointer *layout;
- gpointer *area;
+ GtkCellArea *area;
gint column = -1;
area = NULL;
@@ -250,7 +250,7 @@ gtk_inspector_prop_list_update_prop (GtkInspectorPropList *pl,
if (layout)
area = gtk_cell_layout_get_area (GTK_CELL_LAYOUT (layout));
if (area)
- column = gtk_cell_area_attribute_get_column (GTK_CELL_AREA (area),
+ column = gtk_cell_area_attribute_get_column (area,
GTK_CELL_RENDERER (pl->priv->object),
prop->name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]