[gnome-builder/wip/chergert/docs: 8/12] remove searchgroup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/docs: 8/12] remove searchgroup
- Date: Mon, 15 Jul 2019 18:00:34 +0000 (UTC)
commit f5d7ff998cc818a436fc82209bef8d07405e12e9
Author: Christian Hergert <chergert redhat com>
Date: Thu Jul 11 17:14:56 2019 -0700
remove searchgroup
src/libide/docs/ide-docs-search-group.c | 365 ------------------------------
src/libide/docs/ide-docs-search-group.h | 45 ----
src/libide/docs/ide-docs-search-group.ui | 44 ----
src/libide/docs/ide-docs-search-section.c | 25 --
src/libide/docs/ide-docs-search-view.c | 1 -
src/libide/docs/libide-docs.gresource.xml | 1 -
src/libide/docs/meson.build | 1 -
7 files changed, 482 deletions(-)
---
diff --git a/src/libide/docs/ide-docs-search-section.c b/src/libide/docs/ide-docs-search-section.c
index a19ede91b..b5eab76e5 100644
--- a/src/libide/docs/ide-docs-search-section.c
+++ b/src/libide/docs/ide-docs-search-section.c
@@ -24,7 +24,6 @@
#include <dazzle.h>
-#include "ide-docs-search-group.h"
#include "ide-docs-search-model.h"
#include "ide-docs-search-row.h"
#include "ide-docs-search-section.h"
@@ -53,27 +52,6 @@ enum {
static GParamSpec *properties [N_PROPS];
-static void
-ide_docs_search_section_add (GtkContainer *container,
- GtkWidget *child)
-{
- IdeDocsSearchSection *self = (IdeDocsSearchSection *)container;
-
- g_assert (IDE_IS_DOCS_SEARCH_SECTION (self));
- g_assert (GTK_IS_WIDGET (child));
-
- if (IDE_IS_DOCS_SEARCH_GROUP (child))
- {
- gint priority = ide_docs_search_group_get_priority (IDE_DOCS_SEARCH_GROUP (child));
- gtk_container_add_with_properties (GTK_CONTAINER (self->groups), child,
- "priority", priority,
- NULL);
- return;
- }
-
- GTK_CONTAINER_CLASS (ide_docs_search_section_parent_class)->add (container, child);
-}
-
static void
ide_docs_search_section_finalize (GObject *object)
{
@@ -135,14 +113,11 @@ ide_docs_search_section_class_init (IdeDocsSearchSectionClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
- GtkContainerClass *container_class = GTK_CONTAINER_CLASS (klass);
object_class->finalize = ide_docs_search_section_finalize;
object_class->get_property = ide_docs_search_section_get_property;
object_class->set_property = ide_docs_search_section_set_property;
- container_class->add = ide_docs_search_section_add;
-
properties [PROP_PRIORITY] =
g_param_spec_int ("priority",
"Priority",
diff --git a/src/libide/docs/ide-docs-search-view.c b/src/libide/docs/ide-docs-search-view.c
index e81eff159..cb885e8d3 100644
--- a/src/libide/docs/ide-docs-search-view.c
+++ b/src/libide/docs/ide-docs-search-view.c
@@ -27,7 +27,6 @@
#include <libide-threading.h>
#include "ide-docs-library.h"
-#include "ide-docs-search-group.h"
#include "ide-docs-search-section.h"
#include "ide-docs-search-view.h"
diff --git a/src/libide/docs/libide-docs.gresource.xml b/src/libide/docs/libide-docs.gresource.xml
index cc856e1b7..454619f2a 100644
--- a/src/libide/docs/libide-docs.gresource.xml
+++ b/src/libide/docs/libide-docs.gresource.xml
@@ -5,7 +5,6 @@
</gresource>
<gresource prefix="/org/gnome/libide-docs/ui">
<file preprocess="xml-stripblanks">ide-docs-search-row.ui</file>
- <file preprocess="xml-stripblanks">ide-docs-search-group.ui</file>
<file preprocess="xml-stripblanks">ide-docs-search-view.ui</file>
<file preprocess="xml-stripblanks">ide-docs-workspace.ui</file>
</gresource>
diff --git a/src/libide/docs/meson.build b/src/libide/docs/meson.build
index 89f736f62..b896e0947 100644
--- a/src/libide/docs/meson.build
+++ b/src/libide/docs/meson.build
@@ -27,7 +27,6 @@ libide_docs_public_sources = [
'ide-docs-library.c',
'ide-docs-provider.c',
'ide-docs-query.c',
- 'ide-docs-search-group.c',
'ide-docs-search-model.c',
'ide-docs-search-row.c',
'ide-docs-search-section.c',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]