aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/eventedit.c4
-rw-r--r--calendar/gui/eventedit.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/calendar/eventedit.c b/calendar/eventedit.c
index 9547cc5bee..5452d5694f 100644
--- a/calendar/eventedit.c
+++ b/calendar/eventedit.c
@@ -49,7 +49,7 @@ event_editor_class_init (EventEditorClass *class)
GtkObjectClass *object_class;
parent_class = gtk_type_class (gtk_window_get_type ());
-
+ object_class = (GtkObjectClass*) class;
object_class->destroy = event_editor_destroy;
}
@@ -920,8 +920,6 @@ event_editor_new (GnomeCalendar *gcal, iCalObject *ical)
gdk_pointer_ungrab (GDK_CURRENT_TIME);
gdk_flush ();
- printf ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n");
-
retval = gtk_type_new (event_editor_get_type ());
ee = EVENT_EDITOR (retval);
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c
index 9547cc5bee..5452d5694f 100644
--- a/calendar/gui/eventedit.c
+++ b/calendar/gui/eventedit.c
@@ -49,7 +49,7 @@ event_editor_class_init (EventEditorClass *class)
GtkObjectClass *object_class;
parent_class = gtk_type_class (gtk_window_get_type ());
-
+ object_class = (GtkObjectClass*) class;
object_class->destroy = event_editor_destroy;
}
@@ -920,8 +920,6 @@ event_editor_new (GnomeCalendar *gcal, iCalObject *ical)
gdk_pointer_ungrab (GDK_CURRENT_TIME);
gdk_flush ();
- printf ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n");
-
retval = gtk_type_new (event_editor_get_type ());
ee = EVENT_EDITOR (retval);