aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 89fb0b2a89..9ca2d03b2c 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -26,8 +26,8 @@
#endif
#include <gtk/gtksignal.h>
+#include <gtk/gtktext.h>
#include <gtk/gtktogglebutton.h>
-#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
#include <glade/glade.h>
#include <gal/widgets/e-unicode.h>
@@ -1294,7 +1294,9 @@ init_widgets (EventPage *epage)
GTK_SIGNAL_FUNC (summary_changed_cb), epage);
/* Description - turn on word wrap. */
+#if 0
gtk_text_set_word_wrap (GTK_TEXT (priv->description), TRUE);
+#endif
/* Start and end times */
gtk_signal_connect (GTK_OBJECT (priv->start_time), "changed",
@@ -1396,7 +1398,7 @@ event_page_construct (EventPage *epage)
priv = epage->priv;
priv->xml = glade_xml_new (EVOLUTION_GLADEDIR "/event-page.glade",
- NULL);
+ NULL, NULL);
if (!priv->xml) {
g_message ("event_page_construct(): "
"Could not load the Glade XML file!");