[ekiga] Fix compilation with gtk 2.12



commit 6e79ecaaa2230a879ea51ff7c5680d9402b96321
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Mon May 25 14:14:23 2009 +0200

    Fix compilation with gtk 2.12
---
 src/gui/assistant.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gui/assistant.cpp b/src/gui/assistant.cpp
index 238609b..883c10d 100644
--- a/src/gui/assistant.cpp
+++ b/src/gui/assistant.cpp
@@ -343,7 +343,7 @@ static void
 name_changed_cb (GtkEntry     *entry,
                  GtkAssistant *assistant)
 {
-  set_current_page_complete (assistant, gtk_entry_get_text_length (entry) > 0);
+  set_current_page_complete (assistant, (gtk_entry_get_text (entry))[0] != '\0');
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]