aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
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>