[Xfce4-commits] <xfce4-xkb-plugin:4.10_panel_support> Output XKB options in XKB_DEBUG_CONFIG_REC macro

Igor Slepchin noreply at xfce.org
Tue Jun 18 00:44:05 CEST 2013


Updating branch refs/heads/4.10_panel_support
         to 969fa33973c2ea1812e3d20ad131adbd1fb9cd54 (commit)
       from b8343318f38e305efdf408e2b81563ae36169f48 (commit)

commit 969fa33973c2ea1812e3d20ad131adbd1fb9cd54
Author: Igor Slepchin <igor.slepchin at gmail.com>
Date:   Mon Jun 17 17:33:49 2013 -0400

    Output XKB options in XKB_DEBUG_CONFIG_REC macro

 panel-plugin/xkb-config.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/xkb-config.h b/panel-plugin/xkb-config.h
index 6c702be..2ec3a3f 100644
--- a/panel-plugin/xkb-config.h
+++ b/panel-plugin/xkb-config.h
@@ -112,15 +112,19 @@ gint              xkb_config_get_max_layout_number        (void);
     if (crec) { \
         gchar *layouts = g_strjoinv (",", crec->layouts); \
         gchar *variants = g_strjoinv (",", crec->variants); \
+        gchar *options = g_strjoinv (",", crec->options); \
         g_printf ("\n\
             model: %s [%p]\n\
             layouts: %s [%p]\n\
-            variants: %s [%p]\n", \
+            variants: %s [%p]\n,\
+            options: %s [%p]\n", \
                 crec->model, crec->model, \
                 layouts, crec->layouts, \
-                variants, crec->variants); \
+                variants, crec->variants, \
+                options, crec->options); \
         g_free (layouts); \
         g_free (variants); \
+        g_free (options); \
     } else { \
         g_printf ("NULL\n"); \
     }


More information about the Xfce4-commits mailing list