diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-08-06 03:44:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-08-06 03:44:55 +0000 |
commit | 5fb6e97fb43b2b7929a7bb20b1d408b798d95551 (patch) | |
tree | 32b19974cee8f9cb038186254b92b64e98975504 /gtk/toolbar.c | |
parent | b992c7339116ada28b7021349a6dbea9f023ded0 (diff) |
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
Diffstat (limited to 'gtk/toolbar.c')
-rw-r--r-- | gtk/toolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |