[gnome-control-center] network: Fix warnings setting mnemonics



commit 40f10f13e67c54b9ef07c8fc0ad5c47bfd44a0e0
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Dec 12 13:09:53 2013 +0100

    network: Fix warnings setting mnemonics
    
    Introduced in b5d03b42a043ab81c46b0f22fe14fa51893e86bf

 panels/network/net-device-ethernet.c |    2 +-
 panels/network/net-device-simple.c   |    2 +-
 panels/network/net-virtual-device.c  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/network/net-device-ethernet.c b/panels/network/net-device-ethernet.c
index a2a699f..c94afb0 100644
--- a/panels/network/net-device-ethernet.c
+++ b/panels/network/net-device-ethernet.c
@@ -87,7 +87,7 @@ add_details_row (GtkWidget *details, gint top, const gchar *heading, const gchar
         gtk_widget_set_hexpand (value_label, TRUE);
         gtk_misc_set_alignment (GTK_MISC (value_label), 0, 0.5);
 
-        gtk_label_set_mnemonic_widget(heading_label, value_label);
+        gtk_label_set_mnemonic_widget (GTK_LABEL (heading_label), value_label);
 
         gtk_grid_attach (GTK_GRID (details), value_label, 1, top, 1, 1);
 }
diff --git a/panels/network/net-device-simple.c b/panels/network/net-device-simple.c
index 14adedd..aef427c 100644
--- a/panels/network/net-device-simple.c
+++ b/panels/network/net-device-simple.c
@@ -296,7 +296,7 @@ net_device_simple_add_row (NetDeviceSimple *device_simple,
         value = gtk_label_new (NULL);
         gtk_misc_set_alignment (GTK_MISC (value), 0.0, 0.5);
         g_object_bind_property (device_simple, property_name, value, "label", 0);
-        gtk_label_set_mnemonic_widget(label, value);
+        gtk_label_set_mnemonic_widget (GTK_LABEL (label), value);
         gtk_grid_attach (grid, value, 1, top_attach, 1, 1);
         gtk_widget_show (value);
 }
diff --git a/panels/network/net-virtual-device.c b/panels/network/net-virtual-device.c
index 2e63eb0..8042dc5 100644
--- a/panels/network/net-virtual-device.c
+++ b/panels/network/net-virtual-device.c
@@ -468,7 +468,7 @@ net_virtual_device_add_row (NetVirtualDevice *virtual_device,
         value = gtk_label_new (NULL);
         gtk_misc_set_alignment (GTK_MISC (value), 0.0, 0.5);
         g_object_bind_property (virtual_device, property_name, value, "label", 0);
-        gtk_label_set_mnemonic_widget(label, value);
+        gtk_label_set_mnemonic_widget (GTK_LABEL (label), value);
         gtk_grid_attach (grid, value, 1, top_attach, 1, 1);
         gtk_widget_show (value);
 }


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