aboutsummaryrefslogtreecommitdiff
path: root/src/ld-window-main.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2010-09-30 05:19:31 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2010-10-26 13:58:33 +0200
commite0e63649dc830cd63ae4e7a958e224ef3b2a1375 (patch)
treebfd6ebef764e0e439b2207d1f9d9ddb09985a0bd /src/ld-window-main.c
parent0c9b297e50ffaf9a34f50a99f7bc4e02ea295d1d (diff)
downloadlogdiag-e0e63649dc830cd63ae4e7a958e224ef3b2a1375.tar.gz
logdiag-e0e63649dc830cd63ae4e7a958e224ef3b2a1375.tar.xz
logdiag-e0e63649dc830cd63ae4e7a958e224ef3b2a1375.zip
Redesign the library and related components.
This step is needed, since the current design is quite chaotic and it would not be possible to finish the application. There's still a lot to be done. After this step, it's time to implement the rest of LdLua.
Diffstat (limited to 'src/ld-window-main.c')
-rw-r--r--src/ld-window-main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index d37488f..236e118 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -13,11 +13,13 @@
#include "config.h"
#include "ld-window-main.h"
+
+#include "ld-symbol.h"
+#include "ld-symbol-category.h"
+#include "ld-library.h"
+
#include "ld-document.h"
#include "ld-canvas.h"
-#include "ld-library.h"
-#include "ld-symbol-category.h"
-#include "ld-symbol.h"
/**
@@ -286,7 +288,7 @@ cb_load_category (gpointer key, gpointer value, gpointer user_data)
g_return_if_fail (LD_IS_SYMBOL_CATEGORY (cat));
pbuf = gdk_pixbuf_new_from_file_at_size
- (cat->image_path, TOOLBAR_ICON_WIDTH, -1, NULL);
+ (ld_symbol_category_get_image_path (cat), TOOLBAR_ICON_WIDTH, -1, NULL);
g_return_if_fail (pbuf != NULL);
img = gtk_image_new_from_pixbuf (pbuf);