diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-24 02:30:34 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-24 02:30:34 +0100 |
commit | 9e3170e4b8de9b2120168b6de310ba839dc12072 (patch) | |
tree | 7c1f45722e7264db2fbe5e0f0ce45d4998cdf8ac /pluma/pluma-file-chooser-dialog.c | |
parent | 9d1bf65037d56ced8c3d4396902e83e286222914 (diff) | |
download | pluma-9e3170e4b8de9b2120168b6de310ba839dc12072.tar.bz2 pluma-9e3170e4b8de9b2120168b6de310ba839dc12072.tar.xz |
GTK3: fix previous GtkMisc deprecated commit
Diffstat (limited to 'pluma/pluma-file-chooser-dialog.c')
-rw-r--r-- | pluma/pluma-file-chooser-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pluma/pluma-file-chooser-dialog.c b/pluma/pluma-file-chooser-dialog.c index 17c872da..c480cc4e 100644 --- a/pluma/pluma-file-chooser-dialog.c +++ b/pluma/pluma-file-chooser-dialog.c @@ -86,8 +86,8 @@ create_option_menu (PlumaFileChooserDialog *dialog) GtkWidget *menu; label = gtk_label_new_with_mnemonic (_("C_haracter Encoding:")); -#if GTK_CHECK_VERSION (3, 14, 0) - gtk_widget_set_halign (label, GTK_ALIGN_START); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (label), 0.0); #else gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); #endif @@ -155,8 +155,8 @@ create_newline_combo (PlumaFileChooserDialog *dialog) GtkTreeIter iter; label = gtk_label_new_with_mnemonic (_("L_ine Ending:")); -#if GTK_CHECK_VERSION (3, 14, 0) - gtk_widget_set_halign (label, GTK_ALIGN_START); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (label), 0.0); #else gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); #endif |