Index: calendar/gui/e-itip-control.c
===================================================================
--- calendar/gui/e-itip-control.c	(révision 34185)
+++ calendar/gui/e-itip-control.c	(copie de travail)
@@ -2194,20 +2194,16 @@
 insert_boxes (GtkHTMLEmbedded *eb, EItipControl *itip)
 {
 	EItipControlPrivate *priv;
-	gpointer wbox;
 	
 	priv = itip->priv;
-	wbox = priv->vbox;	
 
 	priv->vbox = gtk_vbox_new (FALSE, 12);
-	g_object_add_weak_pointer (G_OBJECT (priv->vbox), &wbox);	
-
+	g_object_add_weak_pointer (G_OBJECT (priv->vbox), (gpointer *) (void *) &(priv->vbox));
 	gtk_container_add (GTK_CONTAINER (eb), priv->vbox);
 	gtk_widget_show (priv->vbox);
 
 	priv->hbox = gtk_hbox_new (FALSE, 6);
-	wbox = priv->hbox;
-	g_object_add_weak_pointer (G_OBJECT (priv->hbox), &wbox);
+	g_object_add_weak_pointer (G_OBJECT (priv->hbox), (gpointer *) (void *) &(priv->hbox));
 
 	gtk_box_pack_start (GTK_BOX (priv->vbox), priv->hbox, FALSE, TRUE, 0);
 	gtk_widget_show (priv->hbox);
@@ -2262,12 +2258,10 @@
 insert_ok (GtkWidget *hbox, EItipControl *itip) 
 {
 	EItipControlPrivate *priv;
-	gpointer wbutton;
 	priv = itip->priv;
 	
 	priv->ok = gtk_button_new_from_stock (GTK_STOCK_OK);
-	wbutton = priv->ok;
-	g_object_add_weak_pointer (G_OBJECT (priv->ok), &wbutton);
+	g_object_add_weak_pointer (G_OBJECT (priv->ok), (gpointer *) (void *) &(priv->ok) );
 
 	g_signal_connect (priv->ok, "clicked", G_CALLBACK (ok_clicked_cb), itip);
 
Index: calendar/ChangeLog
===================================================================
--- calendar/ChangeLog	(révision 34185)
+++ calendar/ChangeLog	(copie de travail)
@@ -1,3 +1,9 @@
+2007-09-06  Gilles Dartiguelongue  <gdartigu@svn.gnome.org>
+
+	* gui/e-itip-control.c: (insert_boxes), (insert_ok):
+	fix weak references, pointed by Milan Crha <mcrha@redhat.com>
+	which fixes one issue of the patch from bug #439122
+
 2007-01-08  Wang Xin  <jedy.wang@sun.com>
 	
 	Fixes #470968
