summaryrefslogtreecommitdiff
path: root/pluma/pluma-encodings-combo-box.c
diff options
context:
space:
mode:
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 cb056d03..2f355424 100644
--- a/pluma/pluma-encodings-combo-box.c
+++ b/pluma/pluma-encodings-combo-box.c
@@ -208,11 +208,7 @@ add_or_remove (PlumaEncodingsComboBox *menu,
gtk_window_set_transient_for (GTK_WINDOW (dialog),
GTK_WINDOW (toplevel));
-#if GTK_CHECK_VERSION (3, 0, 0)
wg = gtk_window_get_group (GTK_WINDOW (toplevel));
-#else
- wg = GTK_WINDOW (toplevel)->group;
-#endif
if (wg == NULL)
{
wg = gtk_window_group_new ();