aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-29 09:32:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-09-29 09:32:15 +0800
commitdc1344cd020b7c210a0777ed965397922ce1f9bf (patch)
treec2683536bb6524facfe8dc98454bbc1096230cd2 /widgets
parent31b57ed0383b2ea225195d4b72a872f7f2d93163 (diff)
downloadgsoc2013-evolution-dc1344cd020b7c210a0777ed965397922ce1f9bf.tar.gz
gsoc2013-evolution-dc1344cd020b7c210a0777ed965397922ce1f9bf.tar.zst
gsoc2013-evolution-dc1344cd020b7c210a0777ed965397922ce1f9bf.zip
Bump gtk+-2.0 requirement to 2.22.0.
Remove backward-compatibility hacks for older GTK+ versions.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-import-assistant.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/widgets/misc/e-import-assistant.c b/widgets/misc/e-import-assistant.c
index 6a1e1f4787..9ff1a5c391 100644
--- a/widgets/misc/e-import-assistant.c
+++ b/widgets/misc/e-import-assistant.c
@@ -760,17 +760,10 @@ prepare_progress_page (GtkAssistant *assistant,
priv = E_IMPORT_ASSISTANT_GET_PRIVATE (assistant);
page = &priv->selection_page;
-#if GTK_CHECK_VERSION(2,21,2)
/* Because we're a GTK_ASSISTANT_PAGE_PROGRESS, this will
* prevent the assistant window from being closed via window
* manager decorations while importing. */
gtk_assistant_commit (assistant);
-#else
- /* Hide all GtkAssistant buttons. */
- gtk_widget_hide (assistant->back);
- gtk_widget_hide (assistant->forward);
- gtk_widget_hide (assistant->cancel);
-#endif
/* Install a custom "Cancel Import" button. */
cancel_button = gtk_button_new_with_mnemonic (_("_Cancel Import"));