summaryrefslogtreecommitdiff
path: root/pluma/pluma-panel.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-19 15:45:02 +0200
committerinfirit <[email protected]>2014-05-19 18:37:37 +0200
commitcc28312a3f00a21d7fdf982ae9abce782878d906 (patch)
treef60c43c8d3f38edf57cff8745f05adaefa34990f /pluma/pluma-panel.c
parent51291bf1b29004ea4703845fc127cc1a4468b092 (diff)
downloadpluma-cc28312a3f00a21d7fdf982ae9abce782878d906.tar.bz2
pluma-cc28312a3f00a21d7fdf982ae9abce782878d906.tar.xz
Drop support for gtk+ < 2.24
* Bump required gtk+2 version * Remove pluma-spinner * Remove pluma-message-are
Diffstat (limited to 'pluma/pluma-panel.c')
-rw-r--r--pluma/pluma-panel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c
index 5271eeb7..d8467a0c 100644
--- a/pluma/pluma-panel.c
+++ b/pluma/pluma-panel.c
@@ -145,11 +145,7 @@ static void
pluma_panel_focus_document (PlumaPanel *panel)
{
GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (panel));
-#if !GTK_CHECK_VERSION (2, 18, 0)
- if (GTK_WIDGET_TOPLEVEL (toplevel) && PLUMA_IS_WINDOW (toplevel))
-#else
if (gtk_widget_is_toplevel (toplevel) && PLUMA_IS_WINDOW (toplevel))
-#endif
{
PlumaView *view;