[gnome-builder/wip/libide] libide: remove debug code



commit b995e9bd0e2b5ea2e01fd7a427df6efa2a131781
Author: Christian Hergert <christian hergert me>
Date:   Sun Feb 15 22:18:21 2015 -0800

    libide: remove debug code

 libide/gca/ide-gca-diagnostic-provider.c       |    1 -
 libide/gjs/ide-gjs-script.h                    |    2 --
 libide/gsettings/ide-gsettings-file-settings.c |    3 ---
 libide/tasks/ide-load-directory-task.c         |    1 -
 4 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/libide/gca/ide-gca-diagnostic-provider.c b/libide/gca/ide-gca-diagnostic-provider.c
index 7def515..bd14884 100644
--- a/libide/gca/ide-gca-diagnostic-provider.c
+++ b/libide/gca/ide-gca-diagnostic-provider.c
@@ -105,7 +105,6 @@ variant_to_diagnostics (DiagnoseState *state,
           /*
            * TODO: Add fixits back after we plumb them into IdeDiagnostic.
            */
-        g_print ("!!! %s\n", e);
 #if 0
           GcaFixit fixit = {{ 0 }};
 
diff --git a/libide/gjs/ide-gjs-script.h b/libide/gjs/ide-gjs-script.h
index 14b540d..7db4274 100644
--- a/libide/gjs/ide-gjs-script.h
+++ b/libide/gjs/ide-gjs-script.h
@@ -27,8 +27,6 @@ G_BEGIN_DECLS
 
 G_DECLARE_FINAL_TYPE (IdeGjsScript, ide_gjs_script, IDE, GJS_SCRIPT, IdeScript)
 
-GFile *ide_gjs_script_get_file (IdeGjsScript *self);
-
 G_END_DECLS
 
 #endif /* IDE_GJS_SCRIPT_H */
diff --git a/libide/gsettings/ide-gsettings-file-settings.c b/libide/gsettings/ide-gsettings-file-settings.c
index c912209..803a154 100644
--- a/libide/gsettings/ide-gsettings-file-settings.c
+++ b/libide/gsettings/ide-gsettings-file-settings.c
@@ -130,9 +130,6 @@ ide_gsettings_file_settings_init_async (GAsyncInitable      *initable,
   g_settings_bind_with_mapping (self->settings, "insert-spaces-instead-of-tabs",
                                 self, "indent-style", G_SETTINGS_BIND_GET,
                                 indent_style_get, NULL, NULL, NULL);
-  g_settings_bind_with_mapping (self->settings, "insert-spaces-instead-of-tabs",
-                                self, "indent-style", G_SETTINGS_BIND_GET,
-                                indent_style_get, NULL, NULL, NULL);
   g_settings_bind (self->settings, "right-margin-position",
                    self, "right-margin-position",
                    G_SETTINGS_BIND_GET);
diff --git a/libide/tasks/ide-load-directory-task.c b/libide/tasks/ide-load-directory-task.c
index 72d7821..4476a1d 100644
--- a/libide/tasks/ide-load-directory-task.c
+++ b/libide/tasks/ide-load-directory-task.c
@@ -143,7 +143,6 @@ next_files_cb (GObject      *object,
       state->file_count++;
 
       name = g_file_info_get_name (file_info);
-      g_print ("name: %s\n", name);
       if (should_ignore_file (name))
         continue;
 


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