aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-top-item.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-09-18 21:04:34 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2006-09-18 21:04:34 +0800
commit9f6f57d5fc1edf96cee6caa67d13d4ac3d55e53d (patch)
tree3ac91137c889d248eccc4376fe76156c2554301f /calendar/gui/e-day-view-top-item.c
parent0f85cd722a41a2008f95ebc49aa5478530cc1c43 (diff)
downloadgsoc2013-evolution-9f6f57d5fc1edf96cee6caa67d13d4ac3d55e53d.tar.gz
gsoc2013-evolution-9f6f57d5fc1edf96cee6caa67d13d4ac3d55e53d.tar.zst
gsoc2013-evolution-9f6f57d5fc1edf96cee6caa67d13d4ac3d55e53d.zip
** Fixes bug #352450
2006-09-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #352450 * gui/calendar-commands.c: * gui/e-day-view-main-item.c: * gui/e-day-view-top-item.c: * gui/e-meeting-list-view.c: * gui/e-meeting-time-sel-item.c: * gui/e-meeting-time-sel.c: * gui/e-week-view-event-item.c: Replace deprecated GLib and GDK function calls. svn path=/trunk/; revision=32781
Diffstat (limited to 'calendar/gui/e-day-view-top-item.c')
-rw-r--r--calendar/gui/e-day-view-top-item.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view-top-item.c b/calendar/gui/e-day-view-top-item.c
index e2818eaf2f..f628d0ad6a 100644
--- a/calendar/gui/e-day-view-top-item.c
+++ b/calendar/gui/e-day-view-top-item.c
@@ -572,7 +572,7 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem,
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
E_DAY_VIEW_ICON_WIDTH,
@@ -580,9 +580,9 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem,
icon_x -= icon_x_inc;
}
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
}
e_cal_component_free_categories_list (categories_list);
@@ -1158,7 +1158,7 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem,
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
E_DAY_VIEW_ICON_WIDTH,
@@ -1166,9 +1166,9 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem,
icon_x -= icon_x_inc;
}
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
}
e_cal_component_free_categories_list (categories_list);