From a3ba231fcc2746e664a67c85d88eb49a64813989 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 9 Nov 2010 08:48:33 -0500 Subject: Drop backward-compatibility cruft. --- modules/addressbook/addressbook-config.c | 3 --- modules/addressbook/e-book-shell-view-private.h | 3 --- modules/calendar/e-cal-attachment-handler.c | 3 --- modules/mail/e-mail-shell-view-private.h | 3 --- modules/mail/em-mailer-prefs.c | 3 --- modules/mailto-handler/evolution-mailto-handler.c | 3 --- 6 files changed, 18 deletions(-) (limited to 'modules') diff --git a/modules/addressbook/addressbook-config.c b/modules/addressbook/addressbook-config.c index 2f015855db..9c5a26ac5d 100644 --- a/modules/addressbook/addressbook-config.c +++ b/modules/addressbook/addressbook-config.c @@ -49,9 +49,6 @@ #include "addressbook/gui/widgets/eab-config.h" -/* backward-compatibility cruft */ -#include "e-util/gtk-compat.h" - #define d(x) #ifdef HAVE_LDAP diff --git a/modules/addressbook/e-book-shell-view-private.h b/modules/addressbook/e-book-shell-view-private.h index b0b9592210..7c2a2721f1 100644 --- a/modules/addressbook/e-book-shell-view-private.h +++ b/modules/addressbook/e-book-shell-view-private.h @@ -55,9 +55,6 @@ #include "e-book-shell-sidebar.h" #include "e-book-shell-view-actions.h" -/* backward-compatibility cruft */ -#include "e-util/gtk-compat.h" - #define E_BOOK_SHELL_VIEW_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE \ ((obj), E_TYPE_BOOK_SHELL_VIEW, EBookShellViewPrivate)) diff --git a/modules/calendar/e-cal-attachment-handler.c b/modules/calendar/e-cal-attachment-handler.c index a9f5237ecc..8fea91ffeb 100644 --- a/modules/calendar/e-cal-attachment-handler.c +++ b/modules/calendar/e-cal-attachment-handler.c @@ -264,9 +264,6 @@ attachment_handler_run_dialog (GtkWindow *parent, GTK_DIALOG (dialog), widget, GTK_RESPONSE_OK); gtk_widget_show (widget); -#if !GTK_CHECK_VERSION(2,90,7) - g_object_set (dialog, "has-separator", FALSE, NULL); -#endif gtk_window_set_default_size (GTK_WINDOW (dialog), 300, 400); container = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); diff --git a/modules/mail/e-mail-shell-view-private.h b/modules/mail/e-mail-shell-view-private.h index 9f028e0e8a..a3aa3455e4 100644 --- a/modules/mail/e-mail-shell-view-private.h +++ b/modules/mail/e-mail-shell-view-private.h @@ -66,9 +66,6 @@ #include "e-mail-shell-sidebar.h" #include "e-mail-shell-view-actions.h" -/* backward-compatibility cruft */ -#include "e-util/gtk-compat.h" - #define E_MAIL_SHELL_VIEW_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE \ ((obj), E_TYPE_MAIL_SHELL_VIEW, EMailShellViewPrivate)) diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index 267195bfbb..8bec111b6e 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -50,9 +50,6 @@ #include "em-junk.h" #include "em-config.h" -/* backward-compatibility cruft */ -#include "e-util/gtk-compat.h" - enum { HEADER_LIST_NAME_COLUMN, /* displayable name of the header (may be a translation) */ HEADER_LIST_ENABLED_COLUMN, /* is the header enabled? */ diff --git a/modules/mailto-handler/evolution-mailto-handler.c b/modules/mailto-handler/evolution-mailto-handler.c index e12a945177..42c661a541 100644 --- a/modules/mailto-handler/evolution-mailto-handler.c +++ b/modules/mailto-handler/evolution-mailto-handler.c @@ -117,9 +117,6 @@ mailto_handler_prompt (EMailtoHandler *extension) GTK_STOCK_YES, GTK_RESPONSE_YES, NULL); -#if !GTK_CHECK_VERSION(2,90,7) - g_object_set (dialog, "has-separator", FALSE, NULL); -#endif gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES); gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); -- cgit v1.2.3