cannot compile gnumeric 1.9.15
- From: bill lam <cbill lam gmail com>
- To: gnumeric-list <gnumeric-list gnome org>
- Subject: cannot compile gnumeric 1.9.15
- Date: Tue, 3 Nov 2009 22:46:03 +0800
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]