From 5fb6e97fb43b2b7929a7bb20b1d408b798d95551 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 6 Aug 2005 03:44:55 +0000 Subject: Squelch more const warnings (and fix some memory leaks that found). _U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236 --- gtk/toolbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/toolbar.c') diff --git a/gtk/toolbar.c b/gtk/toolbar.c index 06abbd3d5c..77a8139c67 100644 --- a/gtk/toolbar.c +++ b/gtk/toolbar.c @@ -160,7 +160,7 @@ static GtkWidget *color_display_button, *prefs_button, *help_button; #if GTK_MAJOR_VERSION >= 2 typedef struct stock_pixmap_tag{ const char * name; - char ** xpm_data; + const char ** xpm_data; } stock_pixmap_t; /* generate application specific stock items */ -- cgit v1.2.1