From: Jan D Date: Wed, 18 Aug 2010 06:30:54 +0000 (+0200) Subject: * gtkutil.c (update_frame_tool_bar): Literal stings are const char*. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~48^2~258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1e18511e3a9c914db7a7a6fbae5737f7cf96553;p=emacs.git * gtkutil.c (update_frame_tool_bar): Literal stings are const char*. --- 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 + + * gtkutil.c (update_frame_tool_bar): Literal stings are const char*. + 2010-08-18 David De La Harpe Golden * 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);