summaryrefslogtreecommitdiff
path: root/tests/motion-compression.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-13 07:28:20 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-13 07:43:21 -0400
commit7840bad5d78664f47c19d019d5d4614aec19e7ea (patch)
treedcd6a94ec7e07a33b1bb8515438a06ab785d8e78 /tests/motion-compression.c
parent49188aeeda44d122b734cb51eecebb915f284b10 (diff)
downloadgtk+-7840bad5d78664f47c19d019d5d4614aec19e7ea.tar.gz
Drop most uses of GtkMisc in tests
Replace them by GtkWidget h/valign. The only remaining uses are those where a size group is involved; they can't be replaced until GtkLabel stops looking at GtkMisc alignment for size allocation.
Diffstat (limited to 'tests/motion-compression.c')
-rw-r--r--tests/motion-compression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/motion-compression.c b/tests/motion-compression.c
index c7effad9a4..de6d9d6b60 100644
--- a/tests/motion-compression.c
+++ b/tests/motion-compression.c
@@ -55,7 +55,7 @@ main (int argc, char **argv)
gtk_box_pack_end (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
label = gtk_label_new ("Event processing time (ms):");
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+ gtk_widget_set_halign (label, GTK_ALIGN_CENTER);
gtk_box_pack_end (GTK_BOX (vbox), label, FALSE, FALSE, 0);
g_signal_connect (window, "motion-notify-event",