[gnome-builder/wip/libide] libide: print file settings backend



commit edeb73bd508a9331ffa1f0e88d8f5ffd349162c2
Author: Christian Hergert <christian hergert me>
Date:   Sat Feb 14 21:08:59 2015 -0800

    libide: print file settings backend

 tools/ide-list-file-settings.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tools/ide-list-file-settings.c b/tools/ide-list-file-settings.c
index 2ee7876..d6c8a58 100644
--- a/tools/ide-list-file-settings.c
+++ b/tools/ide-list-file-settings.c
@@ -88,7 +88,9 @@ load_settings_cb (GObject      *object,
       goto cleanup;
     }
 
-  g_print ("# %s\n", ide_file_get_path (file));
+  g_print ("# %s (%s)\n",
+           ide_file_get_path (file),
+           g_type_name (G_TYPE_FROM_INSTANCE (settings)));
   g_print ("encoding = %s\n", ide_file_settings_get_encoding (settings) ?: "default");
   g_print ("indent_width = %d\n", ide_file_settings_get_indent_width (settings));
   g_print ("tab_width = %u\n", ide_file_settings_get_tab_width (settings));


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