[network-manager-openvpn] properties: fix an error after removal of "sk_dir_help_label"



commit 4bac9afea7a3737297db0008e2d410dbe49fc196
Author: Jiří Klimeš <jklimes redhat com>
Date:   Wed Apr 1 12:24:16 2015 +0200

    properties: fix an error after removal of "sk_dir_help_label"
    
    (nm-connection-editor:12081): Gtk-CRITICAL **: gtk_size_group_add_widget: assertion 'GTK_IS_WIDGET 
(widget)' failed
    
    Fixes commit 706bc60d2b1bd629a82ab3e219055e6eb1c40531.

 properties/auth-helpers.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/properties/auth-helpers.c b/properties/auth-helpers.c
index 4936b7e..758c29e 100644
--- a/properties/auth-helpers.c
+++ b/properties/auth-helpers.c
@@ -475,9 +475,6 @@ sk_init_auth_widget (GtkBuilder *builder,
        g_object_unref (store);
        gtk_combo_box_set_active (GTK_COMBO_BOX (widget), active < 0 ? 0 : active);
 
-       widget = GTK_WIDGET (gtk_builder_get_object (builder, "sk_dir_help_label"));
-       gtk_size_group_add_widget (group, widget);
-
        widget = GTK_WIDGET (gtk_builder_get_object (builder, "sk_local_address_entry"));
        gtk_size_group_add_widget (group, widget);
        g_signal_connect (G_OBJECT (widget), "changed", G_CALLBACK (changed_cb), user_data);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]