Commit 62c6087f authored by Lubomir Rintel's avatar Lubomir Rintel
Browse files

editor/page-general: there's no such thing as autoconnect_prio_label

Fixes: 137ec047
parent c5907124
......@@ -43,7 +43,6 @@ typedef struct {
GtkListStore *dependent_vpn_store;
GtkWidget *autoconnect;
GtkWidget *autoconnect_prio_label;
GtkSpinButton *autoconnect_prio;
GtkWidget *all_checkbutton;
......@@ -167,7 +166,6 @@ general_private_init (CEPageGeneral *self)
priv->dependent_vpn_store = GTK_LIST_STORE (gtk_builder_get_object (builder, "dependent_vpn_model"));
priv->autoconnect = GTK_WIDGET (gtk_builder_get_object (builder, "connection_autoconnect"));
priv->autoconnect_prio_label = GTK_WIDGET (gtk_builder_get_object (builder, "autoconnect_prio_label"));
priv->autoconnect_prio = GTK_SPIN_BUTTON (gtk_builder_get_object (builder, "autoconnect_prio"));
priv->all_checkbutton = GTK_WIDGET (gtk_builder_get_object (builder, "system_checkbutton"));
priv->metered_combo = GTK_COMBO_BOX (gtk_builder_get_object (builder, "metered_combo"));
......@@ -310,7 +308,6 @@ populate_ui (CEPageGeneral *self)
if (priv->is_vpn) {
gtk_widget_hide (priv->autoconnect);
gtk_widget_hide (priv->autoconnect_prio_label);
gtk_widget_hide (GTK_WIDGET (priv->autoconnect_prio));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment