[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: x_log.nw
User: pbernaud
Date: 05/02/22 13:03:00
Modified: . x_log.nw
Log:
Fixed a warning in log dialog with GTK 2.2: no 'buffer' property for GtkTextView.
Revision Changes Path
1.18 +3 -1 eda/geda/devel/gschem/noweb/x_log.nw
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_log.nw
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/x_log.nw,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- x_log.nw 21 Feb 2005 04:10:16 -0000 1.17
+++ x_log.nw 22 Feb 2005 18:03:00 -0000 1.18
@@ -311,9 +311,11 @@
/* create the text view and attach the buffer to it */
text_view = GTK_WIDGET (g_object_new (GTK_TYPE_TEXT_VIEW,
/* GtkTextView */
- "buffer", text_buffer,
+/* unknown property in GTK 2.2, use gtk_text_view_set_buffer() instead */
+/* "buffer", text_buffer, */
"editable", FALSE,
NULL));
+ gtk_text_view_set_buffer (GTK_TEXT_VIEW (text_view), text_buffer);
/* add the text view to the scrolled window */
gtk_container_add (GTK_CONTAINER (scrolled_win), text_view);