From 16d45a485fbb4bfc6807311ee1b230c9d1178a17 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 8 Oct 2012 06:57:42 +0200 Subject: Add LdCategoryViewIf. Deduplicates parts of LdCategory{,Symbol}View. --- src/ld-window-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ld-window-main.c b/src/ld-window-main.c index 698ffc5..d23d78b 100644 --- a/src/ld-window-main.c +++ b/src/ld-window-main.c @@ -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", -- cgit v1.2.3-70-g09d2