aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-11-09 21:48:33 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-25 23:28:26 +0800
commit753c60fc67a0a56a5f119c14ffa54ea9af95c208 (patch)
tree68b53c740bcbd3cff0f863ba72a5a2b3d49f3e56 /shell
parentdfc28aa9cefad63fb0fc926ce725f7cad8125cb0 (diff)
downloadgsoc2013-evolution-753c60fc67a0a56a5f119c14ffa54ea9af95c208.tar
gsoc2013-evolution-753c60fc67a0a56a5f119c14ffa54ea9af95c208.tar.gz
gsoc2013-evolution-753c60fc67a0a56a5f119c14ffa54ea9af95c208.tar.bz2
gsoc2013-evolution-753c60fc67a0a56a5f119c14ffa54ea9af95c208.tar.lz
gsoc2013-evolution-753c60fc67a0a56a5f119c14ffa54ea9af95c208.tar.xz
gsoc2013-evolution-753c60fc67a0a56a5f119c14ffa54ea9af95c208.tar.zst
gsoc2013-evolution-753c60fc67a0a56a5f119c14ffa54ea9af95c208.zip
Drop backward-compatibility cruft.
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-content.c3
-rw-r--r--shell/e-shell-searchbar.c3
-rw-r--r--shell/e-shell-sidebar.c3
-rw-r--r--shell/e-shell-switcher.c3
-rw-r--r--shell/e-shell-window-private.c4
-rw-r--r--shell/e-shell-window-private.h3
-rw-r--r--shell/main.c3
7 files changed, 0 insertions, 22 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index a97c095947..6af94ddc37 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -44,9 +44,6 @@
#include "e-shell-view.h"
#include "e-shell-window-actions.h"
-/* backward-compatibility cruft */
-#include "e-util/gtk-compat.h"
-
#define E_SHELL_CONTENT_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_SHELL_CONTENT, EShellContentPrivate))
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index 2200ed3fd1..9244d792a7 100644
--- a/shell/e-shell-searchbar.c
+++ b/shell/e-shell-searchbar.c
@@ -37,9 +37,6 @@
#include "e-shell-window-actions.h"
-/* backward-compatibility cruft */
-#include "e-util/gtk-compat.h"
-
#define E_SHELL_SEARCHBAR_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_SHELL_SEARCHBAR, EShellSearchbarPrivate))
diff --git a/shell/e-shell-sidebar.c b/shell/e-shell-sidebar.c
index e460d30100..5aa16e019d 100644
--- a/shell/e-shell-sidebar.c
+++ b/shell/e-shell-sidebar.c
@@ -31,9 +31,6 @@
#include <e-util/e-unicode.h>
#include <shell/e-shell-view.h>
-/* backward-compatibility cruft */
-#include "e-util/gtk-compat.h"
-
#define E_SHELL_SIDEBAR_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_SHELL_SIDEBAR, EShellSidebarPrivate))
diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c
index 6dbcc86fb1..2d2d13c153 100644
--- a/shell/e-shell-switcher.c
+++ b/shell/e-shell-switcher.c
@@ -30,9 +30,6 @@
#include <glib/gi18n.h>
#include <e-util/e-extensible.h>
-/* backward-compatibility cruft */
-#include "e-util/gtk-compat.h"
-
#define E_SHELL_SWITCHER_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_SHELL_SWITCHER, EShellSwitcherPrivate))
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index cf0ee93df2..1c9ee99de0 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -314,11 +314,7 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
if (widget != NULL)
gtk_box_pack_start (box, widget, FALSE, FALSE, 0);
-#if GTK_CHECK_VERSION(2,90,7)
widget = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
-#else
- widget = gtk_hpaned_new ();
-#endif
gtk_box_pack_start (box, widget, TRUE, TRUE, 0);
priv->content_pane = g_object_ref (widget);
gtk_widget_show (widget);
diff --git a/shell/e-shell-window-private.h b/shell/e-shell-window-private.h
index 79f15acb68..3faf3be50c 100644
--- a/shell/e-shell-window-private.h
+++ b/shell/e-shell-window-private.h
@@ -49,9 +49,6 @@
#include <e-shell-window-actions.h>
#include <e-shell-utils.h>
-/* backward-compatibility cruft */
-#include "e-util/gtk-compat.h"
-
#define E_SHELL_WINDOW_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_SHELL_WINDOW, EShellWindowPrivate))
diff --git a/shell/main.c b/shell/main.c
index da7a235a0a..bad10a3f5a 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -171,9 +171,6 @@ show_development_warning (void)
gtk_dialog_add_button (
GTK_DIALOG (warning_dialog),
GTK_STOCK_OK, GTK_RESPONSE_OK);
-#if !GTK_CHECK_VERSION(2,90,7)
- g_object_set (warning_dialog, "has-separator", FALSE, NULL);
-#endif
action_area = gtk_dialog_get_action_area (GTK_DIALOG (warning_dialog));
content_area = gtk_dialog_get_content_area (GTK_DIALOG (warning_dialog));