I download source for gnumeric 1.9.15 and it failed to compile:
-nces.Tpo -c -o dialog-preferences.lo dialog-preferences.c
dialog-preferences.c: In function ‘wordlist_pref_add’:
dialog-preferences.c:479: error: ‘gtk_entry_get_text_length’ undeclared (first
use in this function)
dialog-preferences.c:479: error: (Each undeclared identifier is reported only
once
the relevant code should be,
static void
wordlist_pref_add (GtkButton *button, GOConfNode *node) {
GtkEntry *entry = g_object_get_data (G_OBJECT (button), "entry");
if (gtk_entry_get_text_length > 0) {
const gchar *text = gtk_entry_get_text (entry);
I have 2 questions.
1. gtk_entry_get_text_length is added to gtk+ since 2.14[1], but README said
gtk+ >= 2.12.0 libgtk2.0-dev
2. in the context where gtk_entry_get_text_length is used, it looks like a
variable/constant rather a function call.
[1]
http://library.gnome.org/devel/gtk/2.15/GtkEntry.html#gtk-entry-get-text-length
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
_______________________________________________
gnumeric-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnumeric-list