GTK_ALLOWED_SELECTION_WITHIN_INSERT_SIGNAL tuning

Didier Vidal didier-devel at 9online.fr
Sat Oct 1 12:35:36 EDT 2005


I needed to restore the asynchronous selection mode, to have the
selection on autocompletion work on my fedora core 2. Still, I don't
know which version of gtk2 fixed the behaviour.....

Didier.

------------

prompt > cvs -q diff -u gnucash-sheet.c
Index: gnucash-sheet.c
===================================================================
RCS file:
/home/cvs/cvsroot/gnucash/src/register/register-gnome/gnucash-sheet.c,v
retrieving revision 1.19.4.15
diff -u -r1.19.4.15 gnucash-sheet.c
--- gnucash-sheet.c     22 Jul 2005 18:53:02 -0000      1.19.4.15
+++ gnucash-sheet.c     1 Oct 2005 16:31:24 -0000
@@ -45,8 +45,8 @@
 #define DEFAULT_REGISTER_WIDTH  630
  
  
-/* FIXME: seems like this is ok in gtk2... */
-#define GTK_ALLOWED_SELECTION_WITHIN_INSERT_SIGNAL 1
+/* FIXME: at least broken on gtk 2.4.14 */
+#define GTK_ALLOWED_SELECTION_WITHIN_INSERT_SIGNAL (GTK_MINOR_VERSION >
4)
  
 static guint gnucash_register_initial_rows = 15;




More information about the gnucash-patches mailing list