summaryrefslogtreecommitdiff
path: root/src/connection-editor/page-vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection-editor/page-vlan.c')
-rw-r--r--src/connection-editor/page-vlan.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/connection-editor/page-vlan.c b/src/connection-editor/page-vlan.c
index a60704f9..08defb46 100644
--- a/src/connection-editor/page-vlan.c
+++ b/src/connection-editor/page-vlan.c
@@ -77,13 +77,8 @@ vlan_private_init (CEPageVlan *self)
builder = CE_PAGE (self)->builder;
-#if GTK_CHECK_VERSION(2,24,0)
priv->parent = GTK_COMBO_BOX (gtk_combo_box_text_new_with_entry ());
gtk_combo_box_set_entry_text_column (priv->parent, 0);
-#else
- priv->parent = GTK_COMBO_BOX (gtk_combo_box_entry_new_text ());
- gtk_combo_box_entry_set_text_column (GTK_COMBO_BOX_ENTRY (priv->parent), 0);
-#endif
priv->parent_entry = GTK_ENTRY (gtk_bin_get_child (GTK_BIN (priv->parent)));
align = GTK_WIDGET (gtk_builder_get_object (builder, "vlan_parent_alignment"));