[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 07/27: Use gtk_widget_set_halign/valign instead of gtk_misc_set_alignment()
noreply at xfce.org
noreply at xfce.org
Tue May 31 21:29:50 CEST 2016
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository panel-plugins/xfce4-genmon-plugin.
commit 9b88adea5d744cbb11a5049d8fd56699f61cd154
Author: ToZ <toz at localhost.localdomain>
Date: Sat May 14 11:19:27 2016 -0400
Use gtk_widget_set_halign/valign instead of gtk_misc_set_alignment()
---
panel-plugin/config_gui.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index 90e55c1..743eacf 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -84,7 +84,7 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (label1), GTK_JUSTIFY_LEFT);
- gtk_misc_set_alignment (GTK_MISC (label1), 0, 0.5);
+ gtk_widget_set_valign (label1, GTK_ALIGN_CENTER);
wTF_Cmd = gtk_entry_new ();
gtk_widget_show (wTF_Cmd);
@@ -121,7 +121,7 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_justify (GTK_LABEL (label2), GTK_JUSTIFY_LEFT);
- gtk_misc_set_alignment (GTK_MISC (label2), 0, 0.5);
+ gtk_widget_set_valign (label2, GTK_ALIGN_CENTER);
wTB_Title = gtk_check_button_new_with_mnemonic (_("Label"));
gtk_widget_show (wTB_Title);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list