aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-display.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-10 20:38:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-10 20:40:21 +0800
commit56e6bdb414fb251d99ffe43667bbc2a25741091a (patch)
tree73f7de03174d951142831b3bb342d83343e9ef98 /mail/e-mail-display.c
parenta674eab94dd55978a6fa8db1fbe57bf419377f43 (diff)
downloadgsoc2013-evolution-56e6bdb414fb251d99ffe43667bbc2a25741091a.tar
gsoc2013-evolution-56e6bdb414fb251d99ffe43667bbc2a25741091a.tar.gz
gsoc2013-evolution-56e6bdb414fb251d99ffe43667bbc2a25741091a.tar.bz2
gsoc2013-evolution-56e6bdb414fb251d99ffe43667bbc2a25741091a.tar.lz
gsoc2013-evolution-56e6bdb414fb251d99ffe43667bbc2a25741091a.tar.xz
gsoc2013-evolution-56e6bdb414fb251d99ffe43667bbc2a25741091a.tar.zst
gsoc2013-evolution-56e6bdb414fb251d99ffe43667bbc2a25741091a.zip
Bug 612374 - Build failure due to recent GTK+ deprecations
Diffstat (limited to 'mail/e-mail-display.c')
-rw-r--r--mail/e-mail-display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index df65c256f7..70789c0d47 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -98,10 +98,10 @@ mail_display_update_formatter_colors (EMailDisplay *display)
EMFormatHTMLColorType type;
EMFormatHTML *formatter;
GdkColor *color;
+ GtkStateType state;
GtkStyle *style;
- gint state;
- state = GTK_WIDGET_STATE (display);
+ state = gtk_widget_get_state (GTK_WIDGET (display));
formatter = display->priv->formatter;
style = gtk_widget_get_style (GTK_WIDGET (display));