summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-search-engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-search-engine.c')
-rw-r--r--libcaja-private/caja-search-engine.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/libcaja-private/caja-search-engine.c b/libcaja-private/caja-search-engine.c
index 234575de..d8d9d9a8 100644
--- a/libcaja-private/caja-search-engine.c
+++ b/libcaja-private/caja-search-engine.c
@@ -30,11 +30,6 @@
#include "caja-search-engine-simple.h"
#include "caja-search-engine-tracker.h"
-struct CajaSearchEngineDetails
-{
- int none;
-};
-
enum
{
HITS_ADDED,
@@ -50,30 +45,9 @@ G_DEFINE_ABSTRACT_TYPE (CajaSearchEngine,
caja_search_engine,
G_TYPE_OBJECT);
-static GObjectClass *parent_class = NULL;
-
-static void
-finalize (GObject *object)
-{
- CajaSearchEngine *engine;
-
- engine = CAJA_SEARCH_ENGINE (object);
-
- g_free (engine->details);
-
- EEL_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
-}
-
static void
caja_search_engine_class_init (CajaSearchEngineClass *class)
{
- GObjectClass *gobject_class;
-
- parent_class = g_type_class_peek_parent (class);
-
- gobject_class = G_OBJECT_CLASS (class);
- gobject_class->finalize = finalize;
-
signals[HITS_ADDED] =
g_signal_new ("hits-added",
G_TYPE_FROM_CLASS (class),
@@ -118,7 +92,6 @@ caja_search_engine_class_init (CajaSearchEngineClass *class)
static void
caja_search_engine_init (CajaSearchEngine *engine)
{
- engine->details = g_new0 (CajaSearchEngineDetails, 1);
}
CajaSearchEngine *