From c6ee1dbc3736c7077b6fe226c2ac724f686980b0 Mon Sep 17 00:00:00 2001 From: zhuyaliang <15132211195@163.com> Date: Sun, 8 Oct 2023 14:00:44 +0800 Subject: mate-colorseldialog: Fix compilation warnings remove deprecated function --- libmate-desktop/mate-colorseldialog.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libmate-desktop') diff --git a/libmate-desktop/mate-colorseldialog.c b/libmate-desktop/mate-colorseldialog.c index 919c8a5..230d66d 100644 --- a/libmate-desktop/mate-colorseldialog.c +++ b/libmate-desktop/mate-colorseldialog.c @@ -147,9 +147,7 @@ mate_color_selection_dialog_init (MateColorSelectionDialog *colorseldiag) _mate_desktop_init_i18n (); gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); - gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (dialog)), 2); /* 2 * 5 + 2 = 12 */ - gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (dialog)), 5); - gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_action_area (dialog)), 6); + gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (dialog)), 6); colorseldiag->colorsel = mate_color_selection_new (); gtk_container_set_border_width (GTK_CONTAINER (colorseldiag->colorsel), 5); -- cgit v1.2.1