anjuta r3691 - in trunk: . plugins/sourceview
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3691 - in trunk: . plugins/sourceview
- Date: Mon, 18 Feb 2008 22:48:41 +0000 (GMT)
Author: jhs
Date: Mon Feb 18 22:48:40 2008
New Revision: 3691
URL: http://svn.gnome.org/viewvc/anjuta?rev=3691&view=rev
Log:
/* We only want ascii characters */
if (len > 1)
return;
else
{
SourceviewCell* cell = sourceview_cell_new (location,
GTK_TEXT_VIEW(sv->priv->view));
ianjuta_iterable_previous (IANJUTA_ITERABLE (cell), NULL);
g_signal_emit_by_name(G_OBJECT(sv), \"char_added\", cell, text[0]);
}
Modified:
trunk/ChangeLog
trunk/plugins/sourceview/sourceview.c
Modified: trunk/plugins/sourceview/sourceview.c
==============================================================================
--- trunk/plugins/sourceview/sourceview.c (original)
+++ trunk/plugins/sourceview/sourceview.c Mon Feb 18 22:48:40 2008
@@ -129,9 +129,9 @@
return;
else
{
- gtk_text_iter_backward_char (location);
SourceviewCell* cell = sourceview_cell_new (location,
GTK_TEXT_VIEW(sv->priv->view));
+ ianjuta_iterable_previous (IANJUTA_ITERABLE (cell), NULL);
g_signal_emit_by_name(G_OBJECT(sv), "char_added", cell, text[0]);
}
}
@@ -2164,8 +2164,6 @@
g_signal_emit_by_name (G_OBJECT (sv), "hover-leave", sv->priv->tooltip_cell);
g_object_unref (sv->priv->tooltip_cell);
sv->priv->tooltip_cell = NULL;
- g_free (sv->priv->tooltip_cell);
- sv->priv->tooltip_cell = NULL;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]