aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorChyla Zbigniew <chyla@src.gnome.org>2001-08-04 02:39:38 +0800
committerChyla Zbigniew <chyla@src.gnome.org>2001-08-04 02:39:38 +0800
commitbbe59ab0ae62e32041271d8cc87871db618cbcdb (patch)
treeb0d32f7ddaf7a906698426b6a4f36f8d546e4528 /calendar/gui
parent733175aaec70f4466915e1b028de572338911259 (diff)
downloadgsoc2013-evolution-bbe59ab0ae62e32041271d8cc87871db618cbcdb.tar
gsoc2013-evolution-bbe59ab0ae62e32041271d8cc87871db618cbcdb.tar.gz
gsoc2013-evolution-bbe59ab0ae62e32041271d8cc87871db618cbcdb.tar.bz2
gsoc2013-evolution-bbe59ab0ae62e32041271d8cc87871db618cbcdb.tar.lz
gsoc2013-evolution-bbe59ab0ae62e32041271d8cc87871db618cbcdb.tar.xz
gsoc2013-evolution-bbe59ab0ae62e32041271d8cc87871db618cbcdb.tar.zst
gsoc2013-evolution-bbe59ab0ae62e32041271d8cc87871db618cbcdb.zip
I18n fixes.
* gui/dialogs/event-page.c (summary_changed_cb): Use e_dialog_editable_get instead of gtk_editable_get_chars (we need UTF-8 string). * gui/itip-utils.c: Added missing #include <config.h> svn path=/trunk/; revision=11619
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/event-page.c2
-rw-r--r--calendar/gui/itip-utils.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 76b5df5b3d..6093718453 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -664,7 +664,7 @@ summary_changed_cb (GtkEditable *editable, gpointer data)
if (priv->updating)
return;
- summary = gtk_editable_get_chars (editable, 0, -1);
+ summary = e_dialog_editable_get (editable);
comp_editor_page_notify_summary_changed (COMP_EDITOR_PAGE (epage),
summary);
g_free (summary);
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 7c3add0dd1..cdb03188f7 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -21,6 +21,10 @@
* USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <bonobo/bonobo-exception.h>
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-object-client.h>