[gnome-builder/wip/chergert/editorsearch] editor: remove dead code from search bar
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/editorsearch] editor: remove dead code from search bar
- Date: Wed, 11 Oct 2017 00:56:13 +0000 (UTC)
commit 65bd82661ce693b1e6faf0d8cc0791372e733d89
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 10 17:54:05 2017 -0700
editor: remove dead code from search bar
src/libide/editor/ide-editor-search-bar.c | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-search-bar.c b/src/libide/editor/ide-editor-search-bar.c
index 6c68fc5..f606966 100644
--- a/src/libide/editor/ide-editor-search-bar.c
+++ b/src/libide/editor/ide-editor-search-bar.c
@@ -146,34 +146,6 @@ pacify_null_text (GBinding *binding,
}
static void
-set_position_label (IdeEditorSearchBar *self,
- const gchar *text)
-{
- g_assert (IDE_IS_EDITOR_SEARCH_BAR (self));
-
- if (dzl_str_empty0 (text))
- {
- if (self->search_entry_tag != NULL)
- {
- gd_tagged_entry_remove_tag (self->search_entry, self->search_entry_tag);
- g_clear_object (&self->search_entry_tag);
- }
-
- return;
- }
-
- if (self->search_entry_tag == NULL)
- {
- self->search_entry_tag = gd_tagged_entry_tag_new (text);
- gd_tagged_entry_add_tag (self->search_entry, self->search_entry_tag);
- gd_tagged_entry_tag_set_style (self->search_entry_tag, "search-occurrences-tag");
- return;
- }
-
- gd_tagged_entry_tag_set_label (self->search_entry_tag, text);
-}
-
-static void
ide_editor_search_bar_grab_focus (GtkWidget *widget)
{
IdeEditorSearchBar *self = (IdeEditorSearchBar *)widget;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]