[gnome-text-editor] searchentry: remove unused code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] searchentry: remove unused code
- Date: Thu, 7 Oct 2021 23:03:06 +0000 (UTC)
commit 62f561ee476b8191fbd2120d859f08712e5405a6
Author: Christian Hergert <chergert redhat com>
Date: Thu Oct 7 15:56:46 2021 -0700
searchentry: remove unused code
src/editor-search-entry.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/editor-search-entry.c b/src/editor-search-entry.c
index d821de4..8d602b8 100644
--- a/src/editor-search-entry.c
+++ b/src/editor-search-entry.c
@@ -189,12 +189,8 @@ editable_iface_init (GtkEditableInterface *iface)
static void
editor_search_entry_update_position (EditorSearchEntry *self)
{
- const char *text;
-
g_assert (EDITOR_IS_SEARCH_ENTRY (self));
- text = gtk_editable_get_text (GTK_EDITABLE (self->text));
-
if (self->occurrence_count == 0)
{
gtk_label_set_label (self->info, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]