summaryrefslogtreecommitdiff
path: root/libmate-desktop
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-10-08 14:00:44 +0800
committerraveit65 <[email protected]>2023-10-09 14:19:15 +0200
commitc6ee1dbc3736c7077b6fe226c2ac724f686980b0 (patch)
tree294ee5842fde959205b5948cc595cff7e301cd71 /libmate-desktop
parenta8e5c19f5a6c4632dc5b72d0eea38f5d09d35e19 (diff)
downloadmate-desktop-c6ee1dbc3736c7077b6fe226c2ac724f686980b0.tar.bz2
mate-desktop-c6ee1dbc3736c7077b6fe226c2ac724f686980b0.tar.xz
mate-colorseldialog: Fix compilation warnings remove deprecated function
Diffstat (limited to 'libmate-desktop')
-rw-r--r--libmate-desktop/mate-colorseldialog.c4
1 files changed, 1 insertions, 3 deletions
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);