[gnome-control-center] network: Fix typos that prevented building



commit f05d86d3c2e4161acf0f5337041ecbd198e3ca67
Author: Volker Sobek <reklov live com>
Date:   Thu Feb 14 12:49:15 2013 +0100

    network: Fix typos that prevented building
    
    This fixes commit 6b48994bdb38c89dee076122ccbfa1677043994b.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693787

 panels/network/net-device-wifi.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 1513f3f..8d2bf22 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1255,8 +1255,8 @@ net_device_wifi_constructed (GObject *object)
         NMClient *client;
         NMRemoteSettings *remote_settings;
         NMClientPermissionResult perm;
-        NMDevice *device;
-        NMDeviceWifiCapability caps;
+        NMDevice *nm_device;
+        NMDeviceWifiCapabilities caps;
         GtkWidget *widget;
 
         G_OBJECT_CLASS (net_device_wifi_parent_class)->constructed (object);
@@ -1274,10 +1274,10 @@ net_device_wifi_constructed (GObject *object)
         caps = nm_device_wifi_get_capabilities (NM_DEVICE_WIFI (nm_device));
         if (perm != NM_CLIENT_PERMISSION_RESULT_YES &&
             perm != NM_CLIENT_PERMISSION_RESULT_AUTH) {
-                gtk_widget_set_tooltip (widget, _("System policy prohibits use as a Hotspot"));
+                gtk_widget_set_tooltip_text (widget, _("System policy prohibits use as a Hotspot"));
                 gtk_widget_set_sensitive (widget, FALSE);
         } else if (!(caps & (NM_WIFI_DEVICE_CAP_AP | NM_WIFI_DEVICE_CAP_ADHOC))) {
-                gtk_widget_set_tooltip (widget, _("Wireless device does not support Hotspot mode"));
+                gtk_widget_set_tooltip_text (widget, _("Wireless device does not support Hotspot mode"));
                 gtk_widget_set_sensitive (widget, FALSE);
         } else
                 gtk_widget_set_sensitive (widget, TRUE);


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