fix conditions for GtkMisc deprecations
parent
5ef25f7914
commit
d590df028f
|
@ -117,7 +117,7 @@ terminal_info_bar_format_text (TerminalInfoBar *bar,
|
|||
|
||||
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
|
||||
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
|
||||
#if GTK_CHECK_VERSION (3, 0, 0)
|
||||
#if GTK_CHECK_VERSION (3, 16, 0)
|
||||
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
|
||||
gtk_label_set_yalign (GTK_LABEL (label), 0.0);
|
||||
#else
|
||||
|
|
|
@ -136,7 +136,7 @@ terminal_tab_label_constructor (GType type,
|
|||
|
||||
priv->label = label = gtk_label_new (NULL);
|
||||
|
||||
#if GTK_CHECK_VERSION (3, 0, 0)
|
||||
#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
|
||||
|
|
|
@ -3915,7 +3915,7 @@ terminal_set_title_callback (GtkAction *action,
|
|||
gtk_box_pack_start (GTK_BOX (message_area), hbox, FALSE, FALSE, 0);
|
||||
|
||||
label = gtk_label_new_with_mnemonic (_("_Title:"));
|
||||
#if GTK_CHECK_VERSION (3, 0, 0)
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue