From f3407856f4fd97caf90655205cdb2c66991e75ba Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Mon, 8 Aug 2005 17:22:55 +0000 Subject: fix some MSVC const warnings svn path=/trunk/; revision=15263 --- gtk/tcp_graph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/tcp_graph.c') diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index 5cb0ac1e6a..480af52c1d 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -1727,7 +1727,7 @@ static void graph_destroy (struct graph *g) gdk_pixmap_unref (g->pixmap[1]); g_free (g->x_axis); g_free (g->y_axis); - g_free (g->title); + g_free ( (gpointer) (g->title) ); graph_segment_list_free (g); graph_element_lists_free (g); #if 0 @@ -2210,7 +2210,7 @@ static void axis_destroy (struct axis *axis) { gdk_pixmap_unref (axis->pixmap[0]); gdk_pixmap_unref (axis->pixmap[1]); - g_free (axis->label); + g_free ( (gpointer) (axis->label) ); } static void axis_display (struct axis *axis) -- cgit v1.2.3