summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan D <jan.h.d@swipnet.se>2010-08-18 08:30:54 +0200
committerJan D <jan.h.d@swipnet.se>2010-08-18 08:30:54 +0200
commite1e18511e3a9c914db7a7a6fbae5737f7cf96553 (patch)
tree90a77c987a358066fe33aff4243fdc2117448df5
parent64cb6c788376c364c8e27e99c97921ad3a308963 (diff)
downloademacs-e1e18511e3a9c914db7a7a6fbae5737f7cf96553.tar.gz
* gtkutil.c (update_frame_tool_bar): Literal stings are const char*.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/gtkutil.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 589265586c7..060b8fb739f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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 --git a/src/gtkutil.c b/src/gtkutil.c
index 5cfc980c5b8..dbd48eb5272 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -4292,8 +4292,8 @@ update_frame_tool_bar (FRAME_PTR f)
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);