[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: branch: master updated (1.1.2.20070818-41-g0529c40)
The branch, master has been updated
via 0529c40c453c6f1a958acc87a85974c7a3f871b1 (commit)
from 1f336cc81195dadaffd4bbec17e8a40950b7935b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
gschem/src/x_multiattrib.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
=================
Commit Messages
=================
commit 0529c40c453c6f1a958acc87a85974c7a3f871b1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Fri Sep 7 00:20:29 2007 +0100
Avoid use of gtk_cell_renderer_stop_editing(), which is GTK 2.6+
Instead emit the "editing-canceled" signal directly if necessary.
:100644 100644 769d012... 97c7119... M gschem/src/x_multiattrib.c
=========
Changes
=========
commit 0529c40c453c6f1a958acc87a85974c7a3f871b1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Fri Sep 7 00:20:29 2007 +0100
Avoid use of gtk_cell_renderer_stop_editing(), which is GTK 2.6+
Instead emit the "editing-canceled" signal directly if necessary.
diff --git a/gschem/src/x_multiattrib.c b/gschem/src/x_multiattrib.c
index 769d012..97c7119 100644
--- a/gschem/src/x_multiattrib.c
+++ b/gschem/src/x_multiattrib.c
@@ -347,10 +347,10 @@ static void cellrenderermultilinetext_editing_done(GtkCellEditable *cell_editabl
cell->focus_out_id = 0;
}
- gtk_cell_renderer_stop_editing (GTK_CELL_RENDERER (cell),
- CELL_TEXT_VIEW (cell_editable)->editing_canceled);
- if (CELL_TEXT_VIEW (cell_editable)->editing_canceled)
+ if (CELL_TEXT_VIEW (cell_editable)->editing_canceled) {
+ g_signal_emit_by_name (cell, "editing-canceled");
return;
+ }
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (cell_editable));
gtk_text_buffer_get_start_iter (buffer, &start);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs