summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-context.c')
-rw-r--r--mate-dictionary/libgdict/gdict-context.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/mate-dictionary/libgdict/gdict-context.c b/mate-dictionary/libgdict/gdict-context.c
index 0ed3e067..7dab4525 100644
--- a/mate-dictionary/libgdict/gdict-context.c
+++ b/mate-dictionary/libgdict/gdict-context.c
@@ -1,4 +1,5 @@
/* Copyright (C) 2005 Emmanuele Bassi <[email protected]>
+ * Copyright (C) 2012-2021 MATE Developers
*
* This file is part of MATE Utils.
*
@@ -48,10 +49,8 @@
#include "gdict-context-private.h"
#include "gdict-private.h"
-
static void gdict_context_class_init (gpointer g_iface, void *user_data);
-
GType
gdict_context_get_type (void)
{
@@ -67,6 +66,10 @@ gdict_context_get_type (void)
(GClassInitFunc) gdict_context_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
+ 0, /* instance_size */
+ 0, /* n_preallocs */
+ NULL, /* instance_init */
+ NULL /* value_table */
};
context_type = g_type_register_static (G_TYPE_INTERFACE,
@@ -78,7 +81,6 @@ gdict_context_get_type (void)
return context_type;
}
-
static void
gdict_context_class_init (gpointer g_iface, void *user_data)
{
@@ -412,8 +414,6 @@ gdict_context_define_word (GdictContext *context,
error);
}
-
-
/*****************
* GdictDatabase *
*****************/
@@ -522,8 +522,6 @@ gdict_database_get_full_name (GdictDatabase *db)
return db->full_name;
}
-
-
/*****************
* GdictStrategy *
*****************/
@@ -630,8 +628,6 @@ gdict_strategy_get_description (GdictStrategy *strat)
return strat->description;
}
-
-
/**************
* GdictMatch *
**************/
@@ -737,8 +733,6 @@ gdict_match_get_database (GdictMatch *match)
return match->database;
}
-
-
/*******************
* GdictDefinition *
*******************/