[network-manager-openvpn/jk/ovpn-ui-fixes-1-0: 2/4] properties: fix an error after removal of "sk_dir_help_label"



commit a0f2c77addcb4f838a5a138b3e6d6ca559a4a459
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 e3fa8149aad6d6c05b806a090c6541280ef9e3e6
    
    (cherry picked from commit 4bac9afea7a3737297db0008e2d410dbe49fc196)

 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 e53f737..d767e54 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]