[gnome-panel] fish: don't use deprecated GtkMisc
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] fish: don't use deprecated GtkMisc
- Date: Thu, 20 Nov 2014 18:56:28 +0000 (UTC)
commit 704cefbd81204855436795c4c91223e107967365
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Nov 20 20:50:40 2014 +0200
fish: don't use deprecated GtkMisc
applets/fish/fish.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index e267659..c836b40 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -687,8 +687,7 @@ display_fortune_dialog (FishApplet *fish)
gtk_label_set_ellipsize (GTK_LABEL (fish->fortune_label),
PANGO_ELLIPSIZE_MIDDLE);
fish->fortune_cmd_label = gtk_label_new ("");
- gtk_misc_set_alignment (GTK_MISC (fish->fortune_cmd_label),
- 0, 0.5);
+ gtk_label_set_xalign (GTK_LABEL (fish->fortune_cmd_label), 0.0);
vbox = gtk_dialog_get_content_area (GTK_DIALOG (fish->fortune_dialog));
gtk_box_pack_start (GTK_BOX (vbox),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]