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/gtk-utils.c | |
parent | 43ff5a233282bcd00ed36088c16cabe5255d10db (diff) | |
download | engrampa-701085ca2e9ffea9a9042e174f76c70038a85b33.tar.bz2 engrampa-701085ca2e9ffea9a9042e174f76c70038a85b33.tar.xz |
Avoid deprecated GtkMisc
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r-- | src/gtk-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk-utils.c b/src/gtk-utils.c index ce4758b..56b7add 100644 --- a/src/gtk-utils.c +++ b/src/gtk-utils.c @@ -81,7 +81,7 @@ _gtk_message_dialog_new (GtkWindow *parent, /* Add label and image */ image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_DIALOG); - gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0); + gtk_widget_set_valign (image, GTK_ALIGN_START); label = gtk_label_new (""); @@ -301,7 +301,7 @@ _gtk_yesno_dialog_new (GtkWindow *parent, /* Add label and image */ image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_DIALOG); - gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0); + gtk_widget_set_valign (image, GTK_ALIGN_START); label = gtk_label_new (message); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); |