diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-09-26 06:11:29 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-09-26 06:11:29 +0800 |
commit | c76e6322cf850d3e7a909ae1353bdde8b2911cac (patch) | |
tree | 90a9ce3cfc903297eae6bb1e053838a2d536da3a /my-evolution/e-summary-tasks.c | |
parent | 19e03042e024e2e62acd69aa7005f1dfa9011754 (diff) | |
download | gsoc2013-evolution-c76e6322cf850d3e7a909ae1353bdde8b2911cac.tar gsoc2013-evolution-c76e6322cf850d3e7a909ae1353bdde8b2911cac.tar.gz gsoc2013-evolution-c76e6322cf850d3e7a909ae1353bdde8b2911cac.tar.bz2 gsoc2013-evolution-c76e6322cf850d3e7a909ae1353bdde8b2911cac.tar.lz gsoc2013-evolution-c76e6322cf850d3e7a909ae1353bdde8b2911cac.tar.xz gsoc2013-evolution-c76e6322cf850d3e7a909ae1353bdde8b2911cac.tar.zst gsoc2013-evolution-c76e6322cf850d3e7a909ae1353bdde8b2911cac.zip |
Warnings Create an image cache USe task.png
Warnings
Create an image cache
USe task.png
svn path=/trunk/; revision=13128
Diffstat (limited to 'my-evolution/e-summary-tasks.c')
-rw-r--r-- | my-evolution/e-summary-tasks.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c index 18e92b86fe..1fe44371eb 100644 --- a/my-evolution/e-summary-tasks.c +++ b/my-evolution/e-summary-tasks.c @@ -19,6 +19,7 @@ #include <cal-util/timeutil.h> #include <bonobo/bonobo-exception.h> +#include <bonobo/bonobo-object.h> #include <liboaf/liboaf.h> struct _ESummaryTasks { @@ -249,7 +250,7 @@ generate_html (gpointer data) cal_component_get_completed (comp, &completed); if (completed == NULL) { - tmp = g_strdup_printf ("<img align=\"middle\" src=\"task.xpm\" " + tmp = g_strdup_printf ("<img align=\"middle\" src=\"task.png\" " "alt=\"\" width=\"16\" height=\"16\">   " "<font size=\"-1\"><a href=\"tasks:/%s\">%s</a></font><br>", uid, text.value ? text.value : _("(No Description)")); @@ -261,11 +262,11 @@ generate_html (gpointer data) text.value); #endif cal_component_free_icaltimetype (completed); - gtk_object_unref (comp); + gtk_object_unref (GTK_OBJECT (comp)); continue; } - gtk_object_unref (comp); + gtk_object_unref (GTK_OBJECT (comp)); g_string_append (string, tmp); g_free (tmp); } @@ -321,7 +322,7 @@ e_summary_tasks_protocol (ESummary *summary, CORBA_exception_init (&ev); factory = oaf_activate_from_id ("OAFIID:GNOME_Evolution_Calendar_CompEditorFactory", 0, NULL, &ev); if (BONOBO_EX (&ev)) { - g_message ("%d: Could not activate the component editor factory (%s)", __FUNCTION__, + g_message ("%s: Could not activate the component editor factory (%s)", __FUNCTION__, CORBA_exception_id (&ev)); CORBA_exception_free (&ev); return; |