diff options
Diffstat (limited to 'src/analysis/db/items')
-rw-r--r-- | src/analysis/db/items/bookmark.c | 2 | ||||
-rw-r--r-- | src/analysis/db/items/comment.c | 2 | ||||
-rw-r--r-- | src/analysis/db/items/move.c | 2 | ||||
-rw-r--r-- | src/analysis/db/items/switcher.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/analysis/db/items/bookmark.c b/src/analysis/db/items/bookmark.c index 747053c..231e461 100644 --- a/src/analysis/db/items/bookmark.c +++ b/src/analysis/db/items/bookmark.c @@ -175,6 +175,8 @@ static void g_db_bookmark_class_init(GDbBookmarkClass *klass) item = G_DB_ITEM_CLASS(klass); + item->feature = DBF_BOOKMARKS; + item->cmp = (cmp_db_item_fc)g_db_bookmark_cmp; item->recv = (recv_db_item_fc)g_db_bookmark_recv_from_fd; diff --git a/src/analysis/db/items/comment.c b/src/analysis/db/items/comment.c index f601bd6..6ce3d05 100644 --- a/src/analysis/db/items/comment.c +++ b/src/analysis/db/items/comment.c @@ -188,6 +188,8 @@ static void g_db_comment_class_init(GDbCommentClass *klass) item = G_DB_ITEM_CLASS(klass); + item->feature = DBF_COMMENTS; + item->cmp = (cmp_db_item_fc)g_db_comment_cmp; item->recv = (recv_db_item_fc)g_db_comment_recv_from_fd; diff --git a/src/analysis/db/items/move.c b/src/analysis/db/items/move.c index ad574b0..cf54c9b 100644 --- a/src/analysis/db/items/move.c +++ b/src/analysis/db/items/move.c @@ -181,6 +181,8 @@ static void g_db_move_class_init(GDbMoveClass *klass) item = G_DB_ITEM_CLASS(klass); + item->feature = DBF_MOVES; + item->cmp = (cmp_db_item_fc)g_db_move_cmp; item->recv = (recv_db_item_fc)g_db_move_recv_from_fd; diff --git a/src/analysis/db/items/switcher.c b/src/analysis/db/items/switcher.c index e9182b4..a67040f 100644 --- a/src/analysis/db/items/switcher.c +++ b/src/analysis/db/items/switcher.c @@ -181,6 +181,8 @@ static void g_db_switcher_class_init(GDbSwitcherClass *klass) item = G_DB_ITEM_CLASS(klass); + item->feature = DBF_DISPLAY_SWITCHERS; + item->cmp = (cmp_db_item_fc)g_db_switcher_cmp; item->recv = (recv_db_item_fc)g_db_switcher_recv_from_fd; |