aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-01-05 02:48:56 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-01-05 02:48:56 +0800
commit64b318fd1b812737cc28b21469a28ad8226d0985 (patch)
tree17393c3ec310aeda4b104e1ca369ee2b5d4cd78c /calendar/gui
parent29f1f4aaebf804c2325f630844111ad99fbe4799 (diff)
downloadgsoc2013-evolution-64b318fd1b812737cc28b21469a28ad8226d0985.tar.gz
gsoc2013-evolution-64b318fd1b812737cc28b21469a28ad8226d0985.tar.zst
gsoc2013-evolution-64b318fd1b812737cc28b21469a28ad8226d0985.zip
use the new e-categories API in e-d-s.
2005-01-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-component-preview.c (write_html): use the new e-categories API in e-d-s. svn path=/trunk/; revision=28236
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-cal-component-preview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index c85f90b526..0a4c777c67 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -29,6 +29,7 @@
#include <gnome.h>
#include <gtk/gtk.h>
#include <libgnomevfs/gnome-vfs-ops.h>
+#include <libedataserver/e-categories.h>
#include <libecal/e-cal-time-util.h>
#include <gtkhtml/gtkhtml.h>
#include <gtkhtml/gtkhtml-stream.h>
@@ -162,7 +163,7 @@ write_html (GtkHTMLStream *stream, ECal *ecal, ECalComponent *comp, icaltimezone
for (node = l; node != NULL; node = node->next) {
const char *icon_file;
- icon_file = e_categories_config_get_icon_file_for ((const char *) node->data);
+ icon_file = e_categories_get_icon_file_for ((const char *) node->data);
if (icon_file) {
gtk_html_stream_printf (stream, "<IMG ALT=\"%s\" SRC=\"file://%s\">",
(const char *) node->data, icon_file);