Add LdCategoryViewIf.

Deduplicates parts of LdCategory{,Symbol}View.
This commit is contained in:
2012-10-08 06:57:42 +02:00
parent 492daa3ce3
commit 16d45a485f
9 changed files with 224 additions and 163 deletions

View File

@@ -343,7 +343,7 @@ ld_window_main_init (LdWindowMain *self)
g_signal_connect (priv->view, "notify::zoom",
G_CALLBACK (on_view_zoom_changed), self);
ld_category_view_set_category (LD_CATEGORY_VIEW (priv->library_view),
ld_category_view_if_set_category (LD_CATEGORY_VIEW_IF (priv->library_view),
ld_library_get_root (priv->library));
g_signal_connect_after (priv->library_view, "symbol-selected",