summaryrefslogtreecommitdiff
path: root/gladeui/glade-named-icon-chooser-dialog.c
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2014-05-15 15:43:35 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2014-05-15 15:43:35 -0300
commita4a444174e025779a6925678fb4e1f826cd45bdd (patch)
treece2eb0464db2054a31ad0a102829240f1d29bd10 /gladeui/glade-named-icon-chooser-dialog.c
parent35a47d3330d02ffc2ab4ae7b0de41129d9cfd3d9 (diff)
downloadglade-a4a444174e025779a6925678fb4e1f826cd45bdd.tar.gz
Removed use of deprecated GtkMisc API
Diffstat (limited to 'gladeui/glade-named-icon-chooser-dialog.c')
-rw-r--r--gladeui/glade-named-icon-chooser-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gladeui/glade-named-icon-chooser-dialog.c b/gladeui/glade-named-icon-chooser-dialog.c
index abf723ab..22830fda 100644
--- a/gladeui/glade-named-icon-chooser-dialog.c
+++ b/gladeui/glade-named-icon-chooser-dialog.c
@@ -1401,7 +1401,7 @@ glade_named_icon_chooser_dialog_init (GladeNamedIconChooserDialog *dialog)
gtk_widget_show (contents);
label = gtk_label_new_with_mnemonic (_("Icon _Name:"));
- gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
+ gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_show (label);
dialog->priv->entry = gtk_entry_new ();
@@ -1447,7 +1447,7 @@ glade_named_icon_chooser_dialog_init (GladeNamedIconChooserDialog *dialog)
label = gtk_label_new_with_mnemonic (_("C_ontexts:"));
gtk_label_set_mnemonic_widget (GTK_LABEL (label),
dialog->priv->contexts_view);
- gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
+ gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_size_group_add_widget (group, label);
gtk_widget_show (label);
@@ -1469,7 +1469,7 @@ glade_named_icon_chooser_dialog_init (GladeNamedIconChooserDialog *dialog)
label = gtk_label_new_with_mnemonic (_("Icon Na_mes:"));
gtk_label_set_mnemonic_widget (GTK_LABEL (label), dialog->priv->icons_view);
- gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
+ gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_size_group_add_widget (group, label);
gtk_widget_show (label);