aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-time-sel-item.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-12-04 23:41:30 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2006-12-04 23:41:30 +0800
commit79f8ecbd0d28dfb399e2275a3a18d8ed96415232 (patch)
treee6275d5b92d89797b43bf24c7abfa07dac9f0aa4 /calendar/gui/e-meeting-time-sel-item.c
parentf2db40b45db31c41660bb692bc91f90c49c6939e (diff)
downloadgsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.tar
gsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.tar.gz
gsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.tar.bz2
gsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.tar.lz
gsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.tar.xz
gsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.tar.zst
gsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.zip
Fixes bug #357970
2006-12-04 Matthew Barnes <mbarnes@redhat.com> Fixes bug #357970 * gui/e-alarm-list.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-meeting-attendee.c: * gui/e-meeting-store.c: * gui/e-meeting-time-sel-item.c: * gui/e-meeting-time-sel.c: * gui/e-week-view-main-item.c: * gui/e-week-view.c: * gui/gnome-cal.c: * gui/goto.c: * gui/dialogs/event-page.c: * gui/dialogs/task-page.c: Don't call deprecated GLib / GDK functions. svn path=/trunk/; revision=33045
Diffstat (limited to 'calendar/gui/e-meeting-time-sel-item.c')
-rw-r--r--calendar/gui/e-meeting-time-sel-item.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/calendar/gui/e-meeting-time-sel-item.c b/calendar/gui/e-meeting-time-sel-item.c
index 4969f70c7f..a2acca67bb 100644
--- a/calendar/gui/e-meeting-time-sel-item.c
+++ b/calendar/gui/e-meeting-time-sel-item.c
@@ -218,9 +218,9 @@ e_meeting_time_selector_item_unrealize (GnomeCanvasItem *item)
mts_item = E_MEETING_TIME_SELECTOR_ITEM (item);
- gdk_gc_unref (mts_item->main_gc);
+ g_object_unref (mts_item->main_gc);
mts_item->main_gc = NULL;
- gdk_gc_unref (mts_item->stipple_gc);
+ g_object_unref (mts_item->stipple_gc);
mts_item->stipple_gc = NULL;
if (GNOME_CANVAS_ITEM_CLASS (e_meeting_time_selector_item_parent_class)->unrealize)
@@ -891,14 +891,14 @@ e_meeting_time_selector_item_button_press (EMeetingTimeSelectorItem *mts_item,
/* Set the new meeting time. */
e_meeting_time_selector_set_meeting_time (mts_item->mts,
- g_date_year (start_date),
- g_date_month (start_date),
- g_date_day (start_date),
+ g_date_get_year (start_date),
+ g_date_get_month (start_date),
+ g_date_get_day (start_date),
start_time.hour,
start_time.minute,
- g_date_year (end_date),
- g_date_month (end_date),
- g_date_day (end_date),
+ g_date_get_year (end_date),
+ g_date_get_month (end_date),
+ g_date_get_day (end_date),
end_time.hour,
end_time.minute);