summaryrefslogtreecommitdiff
path: root/font-viewer/font-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'font-viewer/font-view.c')
-rw-r--r--font-viewer/font-view.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c
index abf9a194..6b3bd536 100644
--- a/font-viewer/font-view.c
+++ b/font-viewer/font-view.c
@@ -162,22 +162,14 @@ add_row (GtkWidget *grid,
name_w = gtk_label_new (name);
gtk_style_context_add_class (gtk_widget_get_style_context (name_w), "dim-label");
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (name_w), 1.0);
gtk_label_set_yalign (GTK_LABEL (name_w), 0.0);
- #else
- gtk_misc_set_alignment (GTK_MISC (name_w), 1.0, 0.0);
- #endif
gtk_container_add (GTK_CONTAINER (grid), name_w);
label = gtk_label_new (value);
-#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
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
- #endif
gtk_label_set_selectable (GTK_LABEL(label), TRUE);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);