[gthumb] removed use of a deprecated function
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] removed use of a deprecated function
- Date: Mon, 8 Dec 2014 23:18:42 +0000 (UTC)
commit c178074776c2e86cd7a16c73d331d140d89e300d
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Dec 8 16:19:08 2014 +0100
removed use of a deprecated function
gthumb/dlg-preferences-extensions.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/dlg-preferences-extensions.c b/gthumb/dlg-preferences-extensions.c
index 234b2e9..f832aea 100644
--- a/gthumb/dlg-preferences-extensions.c
+++ b/gthumb/dlg-preferences-extensions.c
@@ -461,13 +461,13 @@ create_extensions_row (GthExtensionDescription *description,
label_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
label = gtk_label_new (description->name);
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+ gtk_widget_set_valign (label, 0.5);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_style_context_add_class (gtk_widget_get_style_context (label), "extension-name");
gtk_box_pack_start (GTK_BOX (label_box), label, FALSE, FALSE, 0);
label = gtk_label_new (description->description);
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+ gtk_widget_set_valign (label, 0.5);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_style_context_add_class (gtk_widget_get_style_context (label), "extension-description");
gtk_box_pack_start (GTK_BOX (label_box), label, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]