[gnome-builder] clang: remove unused code



commit 69c54d6949913822c12ee218bfce05bf490e8e33
Author: Christian Hergert <christian hergert me>
Date:   Thu Oct 1 16:53:02 2015 -0700

    clang: remove unused code

 plugins/clang/ide-clang-completion-item.c |   20 --------------------
 plugins/clang/ide-clang-completion-item.h |    1 -
 2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/plugins/clang/ide-clang-completion-item.c b/plugins/clang/ide-clang-completion-item.c
index 8019701..ebcc6e4 100644
--- a/plugins/clang/ide-clang-completion-item.c
+++ b/plugins/clang/ide-clang-completion-item.c
@@ -404,26 +404,6 @@ ide_clang_completion_item_get_snippet (IdeClangCompletionItem *self)
 }
 
 /**
- * ide_clang_completion_item_get_priority:
- * @self: A #IdeClangCompletionItem.
- *
- * Gets the completion priority for sorting within the results.
- *
- * Returns: An unsigned integer.
- */
-guint
-ide_clang_completion_item_get_priority (IdeClangCompletionItem *self)
-{
-  CXCompletionResult *result;
-
-  g_return_val_if_fail (IDE_IS_CLANG_COMPLETION_ITEM (self), 0);
-
-  result = ide_clang_completion_item_get_result (self);
-
-  return clang_getCompletionPriority (result);
-}
-
-/**
  * ide_clang_completion_item_get_typed_text:
  * @self: An #IdeClangCompletionItem.
  *
diff --git a/plugins/clang/ide-clang-completion-item.h b/plugins/clang/ide-clang-completion-item.h
index 4a555a9..b7d98a1 100644
--- a/plugins/clang/ide-clang-completion-item.h
+++ b/plugins/clang/ide-clang-completion-item.h
@@ -31,7 +31,6 @@ G_DECLARE_FINAL_TYPE (IdeClangCompletionItem, ide_clang_completion_item, IDE, CL
 
 IdeSourceSnippet *ide_clang_completion_item_get_snippet       (IdeClangCompletionItem *self);
 const gchar      *ide_clang_completion_item_get_typed_text    (IdeClangCompletionItem *self);
-guint             ide_clang_completion_item_get_priority      (IdeClangCompletionItem *self);
 const gchar      *ide_clang_completion_item_get_brief_comment (IdeClangCompletionItem *self);
 
 G_END_DECLS


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