diff options
author | JP Rosevear <jpr@ximian.com> | 2002-11-08 06:37:32 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-11-08 06:37:32 +0800 |
commit | 4f21ad07f064cb6872373a57106f435572e89744 (patch) | |
tree | 064bd9e4d5a8d34cca0e78611d505404d68abe45 /e-util/e-categories-config.c | |
parent | ae673aa3f19a965e8a62e24171e19a5c2ba4819f (diff) | |
download | gsoc2013-evolution-4f21ad07f064cb6872373a57106f435572e89744.tar.gz gsoc2013-evolution-4f21ad07f064cb6872373a57106f435572e89744.tar.zst gsoc2013-evolution-4f21ad07f064cb6872373a57106f435572e89744.zip |
pass extra pixbuf param
2002-11-07 JP Rosevear <jpr@ximian.com>
* e-categories-config.c (e_categories_config_get_icon_for): pass
extra pixbuf param
* e-categories-config.h: use G_*_DECLS
* e-dialog-utils.c (save_ok): update g_file_test params
* Makefile.am: Compile some additional files
svn path=/trunk/; revision=18646
Diffstat (limited to 'e-util/e-categories-config.c')
-rw-r--r-- | e-util/e-categories-config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/e-util/e-categories-config.c b/e-util/e-categories-config.c index 9a88373e95..987badebf9 100644 --- a/e-util/e-categories-config.c +++ b/e-util/e-categories-config.c @@ -26,7 +26,9 @@ initialize_categories_config (void) { g_return_if_fail (initialized == FALSE); +#if 0 ecmlw = E_CATEGORIES_MASTER_LIST_WOMBAT (e_categories_master_list_wombat_new ()); +#endif icons_table = g_hash_table_new (g_str_hash, g_str_equal); /* FIXME: must free the two objects above when exiting */ @@ -103,7 +105,7 @@ e_categories_config_get_icon_for (const char *category, GdkPixmap **pixmap, GdkB /* load the icon in our list */ pixbuf = g_hash_table_lookup (icons_table, icon_file); if (!pixbuf) { - pixbuf = gdk_pixbuf_new_from_file (icon_file); + pixbuf = gdk_pixbuf_new_from_file (icon_file, NULL); if (!pixbuf) { *pixmap = NULL; if (mask != NULL) |