aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/prop.c8
-rw-r--r--calendar/gui/quick-view.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/prop.c b/calendar/gui/prop.c
index fe8e52fe23..9f2fdfbdc4 100644
--- a/calendar/gui/prop.c
+++ b/calendar/gui/prop.c
@@ -244,7 +244,7 @@ create_time_display_page (void)
GtkWidget *w;
table = gtk_table_new (2, 2, FALSE);
- gtk_container_border_width (GTK_CONTAINER (table), GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (table), GNOME_PAD_SMALL);
gtk_table_set_row_spacings (GTK_TABLE (table), GNOME_PAD_SMALL);
gtk_table_set_col_spacings (GTK_TABLE (table), GNOME_PAD_SMALL);
gnome_property_box_append_page (GNOME_PROPERTY_BOX (prop_win), table,
@@ -284,7 +284,7 @@ create_time_display_page (void)
0, 0);
vbox = gtk_vbox_new (FALSE, GNOME_PAD_SMALL);
- gtk_container_border_width (GTK_CONTAINER (vbox), GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), GNOME_PAD_SMALL);
gtk_container_add (GTK_CONTAINER (frame), vbox);
w = gtk_label_new (_("Please select the start and end hours you want\n"
@@ -438,12 +438,12 @@ create_colors_page (void)
int i;
frame = gtk_frame_new (_("Colors for months"));
- gtk_container_border_width (GTK_CONTAINER (frame), GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (frame), GNOME_PAD_SMALL);
gnome_property_box_append_page (GNOME_PROPERTY_BOX (prop_win), frame,
gtk_label_new (_("Colors")));
hbox = gtk_hbox_new (FALSE, GNOME_PAD);
- gtk_container_border_width (GTK_CONTAINER (hbox), GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (hbox), GNOME_PAD_SMALL);
gtk_container_add (GTK_CONTAINER (frame), hbox);
table = gtk_table_new (COLOR_PROP_LAST, 2, FALSE);
diff --git a/calendar/gui/quick-view.c b/calendar/gui/quick-view.c
index 9f647841cb..f1f3a16364 100644
--- a/calendar/gui/quick-view.c
+++ b/calendar/gui/quick-view.c
@@ -49,7 +49,7 @@ static void
quick_view_init (QuickView *qv)
{
GTK_WINDOW (qv)->type = GTK_WINDOW_POPUP;
- gtk_window_position (GTK_WINDOW (qv), GTK_WIN_POS_MOUSE);
+ gtk_window_set_position (GTK_WINDOW (qv), GTK_WIN_POS_MOUSE);
}
/* Handles button release events from the canvas in the quick view. When a button release is
@@ -207,7 +207,7 @@ quick_view_new (GnomeCalendar *calendar, char *title, GList *event_list)
gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
w = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
- gtk_container_border_width (GTK_CONTAINER (w), GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (w), GNOME_PAD_SMALL);
gtk_box_pack_start (GTK_BOX (vbox), w, TRUE, TRUE, 0);
gtk_widget_push_visual (gdk_imlib_get_visual ());