diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index 2d3b5bb7fe..46bea947cc 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -1656,7 +1656,7 @@ static void wxGtkTreeCellDataFunc( GtkTreeViewColumn *column, if (attr.HasBackgroundColour()) { wxColour colour = attr.GetBackgroundColour(); - GdkColor *gcol = colour.GetColor(); + const GdkColor * const gcol = colour.GetColor(); GValue gvalue = { 0, }; g_value_init( &gvalue, GDK_TYPE_COLOR );