diff --git a/src/Makefile-tray.am b/src/Makefile-tray.am index 6634324f8..1377e0c34 100644 --- a/src/Makefile-tray.am +++ b/src/Makefile-tray.am @@ -15,7 +15,6 @@ TRAY_STAMP_FILES = stamp-na-marshal.h # please, keep this sorted alphabetically tray_source = \ - gtk-compat.h \ tray/na-tray-child.c \ tray/na-tray-child.h \ tray/na-tray-manager.c \ diff --git a/src/Makefile.am b/src/Makefile.am index 61b58260a..e79a486fe 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -90,7 +90,6 @@ libgnome_shell_la_SOURCES = \ shell-window-tracker-private.h \ shell-wm-private.h \ gnome-shell-plugin.c \ - gtk-compat.h \ shell-app.c \ shell-app-system.c \ shell-app-usage.c \ diff --git a/src/gtk-compat.h b/src/gtk-compat.h deleted file mode 100644 index 9515205ab..000000000 --- a/src/gtk-compat.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef __GTK_COMPAT_H__ -#define __GTK_COMPAT_H__ - -#include - -/* Provide a compatibility layer for accessor functions introduced - * in GTK+ 2.20 which we need to build with GSEAL_ENABLE. - * That way it is still possible to build with GTK+ 2.18 when not - * using GSEAL_ENABLE - */ - -#if !GTK_CHECK_VERSION(2, 20, 0) - -#define gtk_widget_get_realized(w) GTK_WIDGET_REALIZED (w) -#define gtk_widget_get_mapped(w) GTK_WIDGET_MAPPED (w) - -#endif /* GTK_CHECK_VERSION(2, 20, 0) */ - -#endif /* __GTK_COMPAT_H__ */ diff --git a/src/shell-embedded-window.c b/src/shell-embedded-window.c index 01a5a4d27..a87844842 100644 --- a/src/shell-embedded-window.c +++ b/src/shell-embedded-window.c @@ -6,7 +6,6 @@ #include #include "shell-embedded-window-private.h" -#include "gtk-compat.h" /* This type is a subclass of GtkWindow that ties the window to a * ShellGtkEmbed; the window is reparented into the stage diff --git a/src/shell-gtk-embed.c b/src/shell-gtk-embed.c index a7c7bbe10..613397fb5 100644 --- a/src/shell-gtk-embed.c +++ b/src/shell-gtk-embed.c @@ -3,7 +3,6 @@ #include "config.h" #include "shell-embedded-window-private.h" -#include "gtk-compat.h" #include diff --git a/src/shell-tray-icon.c b/src/shell-tray-icon.c index dce8630f7..079a48e51 100644 --- a/src/shell-tray-icon.c +++ b/src/shell-tray-icon.c @@ -5,7 +5,6 @@ #include "shell-tray-icon.h" #include "shell-gtk-embed.h" #include "shell-window-tracker.h" -#include "gtk-compat.h" #include "tray/na-tray-child.h" #include #include "st.h" diff --git a/src/tray/na-tray-child.c b/src/tray/na-tray-child.c index 37db2e0ed..36cd4a064 100644 --- a/src/tray/na-tray-child.c +++ b/src/tray/na-tray-child.c @@ -23,7 +23,6 @@ #include #include "na-tray-child.h" -#include "gtk-compat.h" #include #include diff --git a/src/tray/na-tray-manager.c b/src/tray/na-tray-manager.c index d53c90206..86e3ef33e 100644 --- a/src/tray/na-tray-manager.c +++ b/src/tray/na-tray-manager.c @@ -25,7 +25,6 @@ #include #include "na-tray-manager.h" -#include "gtk-compat.h" #include #if defined (GDK_WINDOWING_X11)