aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter
diff options
context:
space:
mode:
authorSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2007-05-11 18:22:26 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2007-05-11 18:22:26 +0800
commit730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144 (patch)
treef419fdd0d3721e2182bdbb194193669ac382fcbc /plugins/itip-formatter
parent347bdcf94d622efbdeaa687a617efa8d1480bb74 (diff)
downloadgsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.tar.gz
gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.tar.zst
gsoc2013-evolution-730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144.zip
Bug 437584 – Compilation warning in evolution's plugins folder
svn path=/trunk/; revision=33507
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r--plugins/itip-formatter/ChangeLog5
-rw-r--r--plugins/itip-formatter/itip-view.c4
2 files changed, 7 insertions, 2 deletions
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 <dartigug@esiee.fr>
+
+ * itip-view.c: (set_one_button): Fixes casts,
+ fixes part of bug #437584.
+
2007-04-19 Matthew Barnes <mbarnes@redhat.com>
** 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);