summaryrefslogtreecommitdiff
path: root/pluma/pluma-encodings-combo-box.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-encodings-combo-box.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-encodings-combo-box.c')
-rw-r--r--pluma/pluma-encodings-combo-box.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pluma/pluma-encodings-combo-box.c b/pluma/pluma-encodings-combo-box.c
index 9d7fcc5e..cb056d03 100644
--- a/pluma/pluma-encodings-combo-box.c
+++ b/pluma/pluma-encodings-combo-box.c
@@ -191,11 +191,7 @@ add_or_remove (PlumaEncodingsComboBox *menu,
GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (menu));
-#if !GTK_CHECK_VERSION (2, 18, 0)
- if (!GTK_WIDGET_TOPLEVEL (toplevel))
-#else
if (!gtk_widget_is_toplevel (toplevel))
-#endif
toplevel = NULL;
g_signal_handler_block (menu, menu->priv->changed_id);