Get rid of using GtkMisc API globally

This commit is contained in:
Michael Natterer
2018-04-29 01:51:36 +02:00
parent 80985692a4
commit 1b3135ca95
21 changed files with 78 additions and 42 deletions

View File

@ -519,7 +519,10 @@ gimp_random_seed_new (guint *seed,
"given \"random\" operation"), NULL);
button = gtk_button_new_with_mnemonic (_("_New Seed"));
gtk_misc_set_padding (GTK_MISC (gtk_bin_get_child (GTK_BIN (button))), 2, 0);
g_object_set (gtk_bin_get_child (GTK_BIN (button)),
"margin-start", 2,
"margin-end", 2,
NULL);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);