anjuta r4287 - in trunk: . plugins/subversion
- From: jrliggett svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4287 - in trunk: . plugins/subversion
- Date: Sat, 20 Sep 2008 21:49:17 +0000 (UTC)
Author: jrliggett
Date: Sat Sep 20 21:49:17 2008
New Revision: 4287
URL: http://svn.gnome.org/viewvc/anjuta?rev=4287&view=rev
Log:
* plugins/subversion/subversion-ui-utils.c (get_log_from_textview):
Don't escape quotation characters (i.e. ', ") in commit logs.
Modified:
trunk/ChangeLog
trunk/plugins/subversion/subversion-ui-utils.c
Modified: trunk/plugins/subversion/subversion-ui-utils.c
==============================================================================
--- trunk/plugins/subversion/subversion-ui-utils.c (original)
+++ trunk/plugins/subversion/subversion-ui-utils.c Sat Sep 20 21:49:17 2008
@@ -114,18 +114,13 @@
gchar* log;
GtkTextBuffer* textbuf;
GtkTextIter iterbegin, iterend;
- gchar* escaped_log;
- textbuf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(textview));
- gtk_text_buffer_get_start_iter(textbuf, &iterbegin);
- gtk_text_buffer_get_end_iter(textbuf, &iterend) ;
- log = gtk_text_buffer_get_text(textbuf, &iterbegin, &iterend, FALSE);
-/* #warning FIXME: Check for escape chars in log */
- /* Fixed. -naba*/
- escaped_log = anjuta_util_escape_quotes (log);
- g_free (log);
-
- return escaped_log;
+ textbuf = gtk_text_view_get_buffer (GTK_TEXT_VIEW (textview));
+ gtk_text_buffer_get_start_iter (textbuf, &iterbegin);
+ gtk_text_buffer_get_end_iter (textbuf, &iterend);
+ log = gtk_text_buffer_get_text (textbuf, &iterbegin, &iterend, FALSE);
+
+ return log;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]