Small fixups

Trying to get the ci style test to pass.
This commit is contained in:
Matthias Clasen 2020-02-25 20:57:20 -05:00
parent b5bacb3be6
commit 37a2cae10e
7 changed files with 13 additions and 15 deletions

View File

@ -1138,7 +1138,6 @@ gtk_inspector_recorder_recordings_list_create_widget (gpointer item,
gtk_widget_set_margin_top (widget, 6);
gtk_widget_set_margin_bottom (widget, 6);
return widget;
}

View File

@ -153,10 +153,10 @@ int main (int argc, char **argv)
g_signal_connect (window, "destroy", G_CALLBACK (quit_cb), &done);
vbox = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 5));
gtk_widget_set_margin_start (vbox, 12);
gtk_widget_set_margin_end (vbox, 12);
gtk_widget_set_margin_top (vbox, 12);
gtk_widget_set_margin_bottom (vbox, 12);
gtk_widget_set_margin_start (GTK_WIDGET (vbox), 12);
gtk_widget_set_margin_end (GTK_WIDGET (vbox), 12);
gtk_widget_set_margin_top (GTK_WIDGET (vbox), 12);
gtk_widget_set_margin_bottom (GTK_WIDGET (vbox), 12);
gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (vbox));
frame = GTK_FRAME (gtk_frame_new ("Test GtkFrame"));

View File

@ -84,7 +84,6 @@ test_nonzerox (void)
gtk_widget_set_margin_top (child, 3);
gtk_widget_set_margin_bottom (child, 3);
return win;
}