[gnome-settings-daemon] common: Use the correct function



commit 851c5cda5511de4070d681e03016f6c385e88d32
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Aug 15 08:44:58 2016 +0100

    common: Use the correct function
    
    It's `g_print()`, not `g_printf()`.

 plugins/common/test-input-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/test-input-helper.c b/plugins/common/test-input-helper.c
index cda2d0d..af20648 100644
--- a/plugins/common/test-input-helper.c
+++ b/plugins/common/test-input-helper.c
@@ -38,7 +38,7 @@ int main (int argc, char **argv)
        gtk_init (&argc, &argv);
 
        has_mouse = mouse_is_present ();
-       g_printf ("Has mouse:\t\t\t\t%s\n", has_mouse ? "yes" : "no");
+       g_print ("Has mouse:\t\t\t\t%s\n", has_mouse ? "yes" : "no");
 
        has_touchpad = touchpad_is_present ();
        g_print ("Has touchpad:\t\t\t\t%s\n", has_touchpad ? "yes" : "no");


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