diff options
author | Hiroyuki Ikezoe <poincare@ikezoe.net> | 2007-07-27 13:59:06 +0800 |
---|---|---|
committer | Hiroyuki Ikezoe <hiikezoe@src.gnome.org> | 2007-07-27 13:59:06 +0800 |
commit | 5ff5e94bad7744a63a7ff36a9cf9c83a90b218bf (patch) | |
tree | 7ce515bab285f980414a64fb8939403254732b55 /calendar/gui/e-week-view-event-item.c | |
parent | 2821b99a0b44a1ebf39da6b826950a5ab1b395ae (diff) | |
download | gsoc2013-evolution-5ff5e94bad7744a63a7ff36a9cf9c83a90b218bf.tar gsoc2013-evolution-5ff5e94bad7744a63a7ff36a9cf9c83a90b218bf.tar.gz gsoc2013-evolution-5ff5e94bad7744a63a7ff36a9cf9c83a90b218bf.tar.bz2 gsoc2013-evolution-5ff5e94bad7744a63a7ff36a9cf9c83a90b218bf.tar.lz gsoc2013-evolution-5ff5e94bad7744a63a7ff36a9cf9c83a90b218bf.tar.xz gsoc2013-evolution-5ff5e94bad7744a63a7ff36a9cf9c83a90b218bf.tar.zst gsoc2013-evolution-5ff5e94bad7744a63a7ff36a9cf9c83a90b218bf.zip |
Plugged memory leaks.
2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
* dialogs/cal-prefs-dialog.c: (calendar_prefs_dialog_finalize):
* dialogs/task-page.c: (task_page_create_source_option_menu):
* dialogs/e-send-options-utils.c:
(e_sendoptions_utils_set_default_data):
* dialogs/url-editor-dialog.c: (init_widgets):
* dialogs/event-page.c: (event_page_create_source_option_menu):
* dialogs/memo-page.c: (memo_page_create_source_option_menu):
* e-week-view-event-item.c: (e_week_view_event_item_draw):
* e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
* e-pub-utils.c: (e_pub_publish): Plugged memory leaks.
svn path=/trunk/; revision=33857
Diffstat (limited to 'calendar/gui/e-week-view-event-item.c')
-rw-r--r-- | calendar/gui/e-week-view-event-item.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c index fd663fbe70..0632862282 100644 --- a/calendar/gui/e-week-view-event-item.c +++ b/calendar/gui/e-week-view-event-item.c @@ -795,6 +795,7 @@ e_week_view_event_item_draw (GnomeCanvasItem *canvas_item, EWeekView *week_view; EWeekViewEvent *event; EWeekViewEventSpan *span; + GConfClient *gconf_client; GdkGC *gc; gint x1, y1, x2, y2, time_x, time_y; gint icon_x, icon_y, time_width, min_end_time_x, max_icon_x; @@ -828,9 +829,11 @@ e_week_view_event_item_draw (GnomeCanvasItem *canvas_item, g_return_if_fail(wveitem->event_num < week_view->events->len); - gradient = gconf_client_get_bool (gconf_client_get_default (), + gconf_client = gconf_client_get_default (); + gradient = gconf_client_get_bool (gconf_client, "/apps/evolution/calendar/display/events_gradient", NULL); + g_object_unref (gconf_client); event = &g_array_index (week_view->events, EWeekViewEvent, wveitem->event_num); |