aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-09 06:12:45 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-09 06:12:45 +0800
commitf75f8c4738367cfdef5bdad1c0d0f1aa2dbec5f9 (patch)
treebf77c650824ae4120e74a46c0af9243dad5861fc /calendar
parente0dfbb056c3dcdbc1a29823b6c273901ade29598 (diff)
downloadgsoc2013-evolution-f75f8c4738367cfdef5bdad1c0d0f1aa2dbec5f9.tar
gsoc2013-evolution-f75f8c4738367cfdef5bdad1c0d0f1aa2dbec5f9.tar.gz
gsoc2013-evolution-f75f8c4738367cfdef5bdad1c0d0f1aa2dbec5f9.tar.bz2
gsoc2013-evolution-f75f8c4738367cfdef5bdad1c0d0f1aa2dbec5f9.tar.lz
gsoc2013-evolution-f75f8c4738367cfdef5bdad1c0d0f1aa2dbec5f9.tar.xz
gsoc2013-evolution-f75f8c4738367cfdef5bdad1c0d0f1aa2dbec5f9.tar.zst
gsoc2013-evolution-f75f8c4738367cfdef5bdad1c0d0f1aa2dbec5f9.zip
Commit missing files.
svn path=/trunk/; revision=18675
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/control-factory.c2
-rw-r--r--calendar/gui/e-day-view-time-item.c7
2 files changed, 4 insertions, 5 deletions
diff --git a/calendar/gui/control-factory.c b/calendar/gui/control-factory.c
index e5eeeefdac..951c4c6f4d 100644
--- a/calendar/gui/control-factory.c
+++ b/calendar/gui/control-factory.c
@@ -257,7 +257,7 @@ control_factory_new_control (void)
g_message ("control_factory_fn(): could not create the control!");
return NULL;
}
- gtk_object_set_data (GTK_OBJECT (gcal), "control", control);
+ g_object_set_data (G_OBJECT (gcal), "control", control);
calendar_properties_init (gcal, control);
#if 0
diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c
index 8d2f943f7e..10a1e00dc8 100644
--- a/calendar/gui/e-day-view-time-item.c
+++ b/calendar/gui/e-day-view-time-item.c
@@ -526,8 +526,8 @@ e_day_view_time_item_show_popup_menu (EDayViewTimeItem *dvtmitem,
if (current_divisions == divisions[i])
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), TRUE);
- gtk_object_set_data (GTK_OBJECT (item), "divisions",
- GINT_TO_POINTER (divisions[i]));
+ g_object_set_data (G_OBJECT (item), "divisions",
+ GINT_TO_POINTER (divisions[i]));
g_signal_connect (item, "toggled",
G_CALLBACK (e_day_view_time_item_on_set_divisions), dvtmitem);
@@ -551,8 +551,7 @@ e_day_view_time_item_on_set_divisions (GtkWidget *item,
if (!gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (item)))
return;
- divisions = GPOINTER_TO_INT (gtk_object_get_data (GTK_OBJECT (item),
- "divisions"));
+ divisions = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (item), "divisions"));
e_day_view_set_mins_per_row (day_view, divisions);
calendar_config_set_time_divisions (divisions);
}