summaryrefslogtreecommitdiff
path: root/src/eom-metadata-sidebar.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-07-09 17:48:12 +0200
committerraveit65 <[email protected]>2018-07-09 17:48:12 +0200
commit7dbd1b882441baf49c56592c164f4dc2a4e67107 (patch)
tree92293c5f63c6e50058ee6e7030d66568f0e49ed9 /src/eom-metadata-sidebar.c
parent15a0431ef337d2fe47cdf2dbd88a8b9504691c4b (diff)
downloadeom-7dbd1b882441baf49c56592c164f4dc2a4e67107.tar.bz2
eom-7dbd1b882441baf49c56592c164f4dc2a4e67107.tar.xz
sidebar: replace deprecated gtk_misc_set_alignment
Diffstat (limited to 'src/eom-metadata-sidebar.c')
-rw-r--r--src/eom-metadata-sidebar.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eom-metadata-sidebar.c b/src/eom-metadata-sidebar.c
index e9b6e0e..5d6a5ad 100644
--- a/src/eom-metadata-sidebar.c
+++ b/src/eom-metadata-sidebar.c
@@ -136,14 +136,16 @@ _gtk_grid_append_prop_line (GtkGrid *grid, GtkWidget *sibling,
gtk_label_set_markup (GTK_LABEL(label), markup);
g_free (markup);
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 1.0);
+ gtk_label_set_xalign (GTK_LABEL (label), 0);
+ gtk_label_set_yalign (GTK_LABEL (label), 1);
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
if (G_LIKELY (data_label != NULL)) {
*data_label = gtk_label_new (NULL);
gtk_label_set_selectable (GTK_LABEL (*data_label), TRUE);
gtk_label_set_line_wrap (GTK_LABEL(*data_label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (*data_label), 0.0, 0.0);
+ gtk_label_set_xalign (GTK_LABEL (*data_label), 0);
+ gtk_label_set_yalign (GTK_LABEL (*data_label), 0);
// Add a small margin to make it a sublabel to the first label
gtk_widget_set_margin_start (*data_label, 12);
gtk_box_pack_end (GTK_BOX(box), *data_label, FALSE, FALSE, 0);