# HG changeset patch
# User Jan D <jan.h.d@swipnet.se>
# Date 1282113054 -7200
# Node ID deed7c0755502d02689c89c3e54df919c98a300c
# Parent  a2dc02f10ab386b5b30dcc745cfb25a5f0260472
* gtkutil.c (update_frame_tool_bar): Literal stings are const char*.

diff -r a2dc02f10ab3 -r deed7c075550 src/ChangeLog
--- a/src/ChangeLog	Wed Aug 18 08:16:55 2010 +0200
+++ b/src/ChangeLog	Wed Aug 18 08:30:54 2010 +0200
@@ -1,3 +1,7 @@
+2010-08-18  Jan Djč¾°rv  <jan.h.d@swipnet.se>
+
+	* gtkutil.c (update_frame_tool_bar): Literal stings are const char*.
+
 2010-08-18  David De La Harpe Golden  <david@harpegolden.net>
 
 	* nsselect.m (QCLIPBOARD, NXPrimaryPboard): Define.
diff -r a2dc02f10ab3 -r deed7c075550 src/gtkutil.c
--- a/src/gtkutil.c	Wed Aug 18 08:16:55 2010 +0200
+++ b/src/gtkutil.c	Wed Aug 18 08:30:54 2010 +0200
@@ -4292,8 +4292,8 @@
       GtkWidget *wbutton = NULL;
       GtkWidget *weventbox;
       Lisp_Object specified_file;
-      char *label = (STRINGP (PROP (TOOL_BAR_ITEM_LABEL))
-		     ? SSDATA (PROP (TOOL_BAR_ITEM_LABEL)) : "");
+      const char *label = (STRINGP (PROP (TOOL_BAR_ITEM_LABEL))
+                           ? SSDATA (PROP (TOOL_BAR_ITEM_LABEL)) : "");
       
       ti = gtk_toolbar_get_nth_item (GTK_TOOLBAR (wtoolbar), i);