From 4f21ad07f064cb6872373a57106f435572e89744 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 7 Nov 2002 22:37:32 +0000 Subject: pass extra pixbuf param 2002-11-07 JP Rosevear * 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 --- e-util/e-categories-config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'e-util/e-categories-config.c') 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) -- cgit