diff options
author | raveit65 <[email protected]> | 2016-09-04 16:24:58 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-09-14 06:04:59 +0200 |
commit | 701085ca2e9ffea9a9042e174f76c70038a85b33 (patch) | |
tree | 52ca86054965cec134cd3df1fa4d515e9aafe70f /src/dlg-extract.c | |
parent | 43ff5a233282bcd00ed36088c16cabe5255d10db (diff) | |
download | engrampa-701085ca2e9ffea9a9042e174f76c70038a85b33.tar.bz2 engrampa-701085ca2e9ffea9a9042e174f76c70038a85b33.tar.xz |
Avoid deprecated GtkMisc
Diffstat (limited to 'src/dlg-extract.c')
-rw-r--r-- | src/dlg-extract.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dlg-extract.c b/src/dlg-extract.c index 0566b07..27217d2 100644 --- a/src/dlg-extract.c +++ b/src/dlg-extract.c @@ -333,7 +333,11 @@ create_extra_widget (DialogData *data) set_bold_label (e_files_label, _("Extract")); gtk_box_pack_start (GTK_BOX (vbox19), e_files_label, FALSE, FALSE, 0); gtk_label_set_justify (GTK_LABEL (e_files_label), GTK_JUSTIFY_LEFT); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (e_files_label), 0); +#else gtk_misc_set_alignment (GTK_MISC (e_files_label), 0, 0.5); +#endif hbox29 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start (GTK_BOX (vbox19), hbox29, TRUE, TRUE, 0); @@ -375,7 +379,11 @@ create_extra_widget (DialogData *data) gtk_box_pack_start (GTK_BOX (vbox20), e_actions_label, FALSE, FALSE, 0); gtk_label_set_use_markup (GTK_LABEL (e_actions_label), TRUE); gtk_label_set_justify (GTK_LABEL (e_actions_label), GTK_JUSTIFY_LEFT); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (e_actions_label), 0); +#else gtk_misc_set_alignment (GTK_MISC (e_actions_label), 0, 0.5); +#endif hbox30 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start (GTK_BOX (vbox20), hbox30, TRUE, TRUE, 0); |