[anjuta] sourceview: Fix wrong assignment when saving markers



commit 15a517cc91a9286f6f7b6931f6bedde94b1a08e3
Author: Johannes Schmid <jhs gnome org>
Date:   Tue Jan 29 23:22:24 2013 +0100

    sourceview: Fix wrong assignment when saving markers

 plugins/sourceview/sourceview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/sourceview/sourceview.c b/plugins/sourceview/sourceview.c
index 623fcd3..b387b86 100644
--- a/plugins/sourceview/sourceview.c
+++ b/plugins/sourceview/sourceview.c
@@ -491,7 +491,7 @@ sourceview_reload_save_markers (Sourceview* sv)
 
 		sscanf (gtk_text_mark_get_name (GTK_TEXT_MARK (source_mark)),
 		        MARK_NAME "%d", &reload->handle);
-		sv->priv->tooltip = g_strdup (g_object_get_data (G_OBJECT (source_mark),
+		reload->tooltip = g_strdup (g_object_get_data (G_OBJECT (source_mark),
 														 MARKER_TOOLTIP_DATA));
 			
 		sv->priv->reload_marks = g_slist_append (sv->priv->reload_marks, reload);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]