diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-01-25 10:52:15 +0100 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-01-25 11:24:27 +0100 |
| commit | e8ac7dacdcf4b38addef4f8ac6ab038f9d29582c (patch) | |
| tree | 017883e210043859ee695250f6285380b795f8e4 /src/nm-rfkill-manager.c | |
| parent | b05c072fe2594e0369cbfb00a3fba176d2d309dc (diff) | |
| parent | 1b878e595ff7be634a4800ca6cc506046e49548e (diff) | |
Merge remote-tracking branch 'salsa/master' into disco
Diffstat (limited to 'src/nm-rfkill-manager.c')
| -rw-r--r-- | src/nm-rfkill-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-rfkill-manager.c b/src/nm-rfkill-manager.c index b2909e9d..a7bc694a 100644 --- a/src/nm-rfkill-manager.c +++ b/src/nm-rfkill-manager.c @@ -65,7 +65,7 @@ typedef struct { char *path; char *driver; RfKillType rtype; - gint state; + int state; gboolean platform; } Killswitch; @@ -158,7 +158,7 @@ killswitch_destroy (Killswitch *ks) } static RfKillState -sysfs_state_to_nm_state (gint sysfs_state) +sysfs_state_to_nm_state (int sysfs_state) { switch (sysfs_state) { case 0: |