diff options
author | monsta <[email protected]> | 2016-02-04 13:59:26 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-02-04 14:08:33 +0300 |
commit | 73bc9f672f869f4685076ac6cafe76988cadbbf2 (patch) | |
tree | 0f786f57f9e989e4607bb19d5b071eabdeec564a /capplets | |
parent | 529814000d3bdd36675d5a4bf7395f49600c5332 (diff) | |
download | mate-control-center-73bc9f672f869f4685076ac6cafe76988cadbbf2.tar.bz2 mate-control-center-73bc9f672f869f4685076ac6cafe76988cadbbf2.tar.xz |
[GTK+3] don't set x/y align to 0.5 - it's the default value anyway
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/about-me/eel-alert-dialog.c | 3 | ||||
-rw-r--r-- | capplets/appearance/appearance-style.c | 1 | ||||
-rw-r--r-- | capplets/appearance/appearance-themes.c | 1 | ||||
-rw-r--r-- | capplets/keybindings/eggcellrendererkeys.c | 1 |
4 files changed, 0 insertions, 6 deletions
diff --git a/capplets/about-me/eel-alert-dialog.c b/capplets/about-me/eel-alert-dialog.c index 1527164a..9fd4d52e 100644 --- a/capplets/about-me/eel-alert-dialog.c +++ b/capplets/about-me/eel-alert-dialog.c @@ -171,7 +171,6 @@ eel_alert_dialog_init (EelAlertDialog *dialog) gtk_label_set_use_markup (GTK_LABEL (dialog->details->primary_label), TRUE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (dialog->details->primary_label), 0.0); - gtk_label_set_yalign (GTK_LABEL (dialog->details->primary_label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (dialog->details->primary_label), 0.0, 0.5); #endif @@ -180,7 +179,6 @@ eel_alert_dialog_init (EelAlertDialog *dialog) gtk_label_set_selectable (GTK_LABEL (dialog->details->secondary_label), TRUE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (dialog->details->secondary_label), 0.0); - gtk_label_set_yalign (GTK_LABEL (dialog->details->secondary_label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (dialog->details->secondary_label), 0.0, 0.5); #endif @@ -189,7 +187,6 @@ eel_alert_dialog_init (EelAlertDialog *dialog) gtk_label_set_selectable (GTK_LABEL (dialog->details->details_label), TRUE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (dialog->details->details_label), 0.0); - gtk_label_set_yalign (GTK_LABEL (dialog->details->details_label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (dialog->details->details_label), 0.0, 0.5); #endif diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c index 21fe2002..f5722a1f 100644 --- a/capplets/appearance/appearance-style.c +++ b/capplets/appearance/appearance-style.c @@ -236,7 +236,6 @@ static void update_message_area(AppearanceData* data) gtk_label_set_line_wrap (GTK_LABEL (data->style_message_label), TRUE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (data->style_message_label), 0.0); - gtk_label_set_yalign (GTK_LABEL (data->style_message_label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (data->style_message_label), 0.0, 0.5); #endif diff --git a/capplets/appearance/appearance-themes.c b/capplets/appearance/appearance-themes.c index a9b0af30..2fcff32b 100644 --- a/capplets/appearance/appearance-themes.c +++ b/capplets/appearance/appearance-themes.c @@ -666,7 +666,6 @@ theme_message_area_update (AppearanceData *data) gtk_label_set_line_wrap (GTK_LABEL (data->theme_message_label), TRUE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (data->theme_message_label), 0.0); - gtk_label_set_yalign (GTK_LABEL (data->theme_message_label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (data->theme_message_label), 0.0, 0.5); #endif diff --git a/capplets/keybindings/eggcellrendererkeys.c b/capplets/keybindings/eggcellrendererkeys.c index 730931c5..1805d583 100644 --- a/capplets/keybindings/eggcellrendererkeys.c +++ b/capplets/keybindings/eggcellrendererkeys.c @@ -593,7 +593,6 @@ egg_cell_renderer_keys_start_editing (GtkCellRenderer *cell, label = gtk_label_new (NULL); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (label), 0.0); - gtk_label_set_yalign (GTK_LABEL (label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); #endif |