aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-08 09:58:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:49:57 +0800
commit9b2576119477a2a4bcfed3d1c5f2c038403941be (patch)
treea0df64f3e7601ae639c64f720a639305cea1aa21 /mail
parent76ca1d5b2e99424644ad66037bceb52d9b8ac534 (diff)
downloadgsoc2013-evolution-9b2576119477a2a4bcfed3d1c5f2c038403941be.tar
gsoc2013-evolution-9b2576119477a2a4bcfed3d1c5f2c038403941be.tar.gz
gsoc2013-evolution-9b2576119477a2a4bcfed3d1c5f2c038403941be.tar.bz2
gsoc2013-evolution-9b2576119477a2a4bcfed3d1c5f2c038403941be.tar.lz
gsoc2013-evolution-9b2576119477a2a4bcfed3d1c5f2c038403941be.tar.xz
gsoc2013-evolution-9b2576119477a2a4bcfed3d1c5f2c038403941be.tar.zst
gsoc2013-evolution-9b2576119477a2a4bcfed3d1c5f2c038403941be.zip
Cast GtkAdjustment constructor calls to GtkAdjustment
Otherwise gcc will complain about wrong type when comiling against GTK2. This patch can be reverted when compiling against GTK3.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-filter-rule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-filter-rule.c b/mail/em-filter-rule.c
index 026c722612..3a83aafc01 100644
--- a/mail/em-filter-rule.c
+++ b/mail/em-filter-rule.c
@@ -583,8 +583,8 @@ get_widget (EFilterRule *fr, ERuleContext *rc)
l = l->next;
}
- hadj = gtk_adjustment_new (0.0, 0.0, 1.0, 1.0 ,1.0, 1.0);
- vadj = gtk_adjustment_new (0.0, 0.0, 1.0, 1.0 ,1.0, 1.0);
+ hadj = GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.0, 1.0, 1.0 ,1.0, 1.0));
+ vadj = GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.0, 1.0, 1.0 ,1.0, 1.0));
scrolledwindow = gtk_scrolled_window_new (hadj, vadj);
gtk_scrolled_window_set_policy (