From 730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144 Mon Sep 17 00:00:00 2001 From: Sankarasivasubramanian Pasupathilingam Date: Fri, 11 May 2007 10:22:26 +0000 Subject: =?UTF-8?q?Bug=20437584=20=E2=80=93=20Compilation=20warning=20in?= =?UTF-8?q?=20evolution's=20plugins=20folder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=33507 --- plugins/itip-formatter/ChangeLog | 5 +++++ plugins/itip-formatter/itip-view.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'plugins/itip-formatter') diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index c91e6b9927..d1777aee67 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,8 @@ +2007-05-11 Gilles Dartiguelongue + + * itip-view.c: (set_one_button): Fixes casts, + fixes part of bug #437584. + 2007-04-19 Matthew Barnes ** Fixes part of bug #429422 diff --git a/plugins/itip-formatter/itip-view.c b/plugins/itip-formatter/itip-view.c index 63fa11211e..3abd8f9822 100644 --- a/plugins/itip-formatter/itip-view.c +++ b/plugins/itip-formatter/itip-view.c @@ -735,10 +735,10 @@ set_one_button (ItipView *view, char *label, char *stock_id, ItipViewResponse re button = gtk_button_new_with_mnemonic (label); image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON); - gtk_button_set_image (button, image); + gtk_button_set_image (GTK_BUTTON (button), image); data = GINT_TO_POINTER (response); - g_object_set_data (button, DATA_RESPONSE_KEY, data); + g_object_set_data (G_OBJECT (button), DATA_RESPONSE_KEY, data); gtk_widget_show (button); gtk_container_add (GTK_CONTAINER (priv->button_box), button); -- cgit v1.2.3