aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-sidebar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-04-08 23:33:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-08 23:33:01 +0800
commit448685bd5dee4b2ac08e1139b2ca43b98f2e97cf (patch)
treeead2f390a690cbaefe8bf5a1e990dfb924420a98 /modules/mail/e-mail-shell-sidebar.c
parent72797decc12602b181f69dba7c54df7a0d1b9326 (diff)
downloadgsoc2013-evolution-448685bd5dee4b2ac08e1139b2ca43b98f2e97cf.tar.gz
gsoc2013-evolution-448685bd5dee4b2ac08e1139b2ca43b98f2e97cf.tar.zst
gsoc2013-evolution-448685bd5dee4b2ac08e1139b2ca43b98f2e97cf.zip
Forgot to commit some bits.
Diffstat (limited to 'modules/mail/e-mail-shell-sidebar.c')
-rw-r--r--modules/mail/e-mail-shell-sidebar.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/mail/e-mail-shell-sidebar.c b/modules/mail/e-mail-shell-sidebar.c
index ebe72bf629..a5ec67d4c4 100644
--- a/modules/mail/e-mail-shell-sidebar.c
+++ b/modules/mail/e-mail-shell-sidebar.c
@@ -196,11 +196,7 @@ guess_screen_width (EMailShellSidebar *sidebar)
GdkRectangle rect;
toplevel = gtk_widget_get_toplevel (widget);
-#if GTK_CHECK_VERSION(2,19,7)
if (toplevel && gtk_widget_get_realized (toplevel))
-#else
- if (toplevel && GTK_WIDGET_REALIZED (toplevel))
-#endif
monitor = gdk_screen_get_monitor_at_window (screen, gtk_widget_get_window (toplevel));
else {
/* We don't know in which monitor the window manager