[gnome-settings-daemon] rfkill: Fix property notification warning for rfkill-input-inhibited



commit 63029f3d8cff3ca6740284b5800612efc565888b
Author: Benjamin Berg <bberg redhat com>
Date:   Tue Nov 28 14:30:43 2017 +0100

    rfkill: Fix property notification warning for rfkill-input-inhibited
    
    The property change notification was trying to send a notification for
    "kernel-noinput" which was the original name proposed for commit 3810072d2b
    (rfkill: Add property to Rfkill helper to inhibit kernel handling).
    
    There is no listener for the event, so this simply fixes a warning.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790941

 plugins/rfkill/rfkill-glib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/rfkill/rfkill-glib.c b/plugins/rfkill/rfkill-glib.c
index a0e423b..450e653 100644
--- a/plugins/rfkill/rfkill-glib.c
+++ b/plugins/rfkill/rfkill-glib.c
@@ -495,7 +495,7 @@ cc_rfkill_glib_set_rfkill_input_inhibited (CcRfkillGlib *rfkill,
                rfkill->noinput_fd = fd;
        }
 
-       g_object_notify (G_OBJECT (rfkill), "kernel-noinput");
+       g_object_notify (G_OBJECT (rfkill), "rfkill-input-inhibited");
 }
 
 static void


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