mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
Small fixups
Trying to get the ci style test to pass.
This commit is contained in:
parent
b5bacb3be6
commit
37a2cae10e
@ -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;
|
||||
}
|
||||
|
||||
|
@ -772,8 +772,8 @@ maybe_rename_property (Element *element, MyParserData *data)
|
||||
elt = g_new0 (Element, 1);
|
||||
elt->parent = element->parent;
|
||||
elt->element_name = g_strdup (element->element_name);
|
||||
elt->attribute_names = g_strdupv ((char **)element->attribute_names);
|
||||
elt->attribute_values = g_strdupv ((char **)element->attribute_values);
|
||||
elt->attribute_names = g_strdupv ((char **) element->attribute_names);
|
||||
elt->attribute_values = g_strdupv ((char **) element->attribute_values);
|
||||
elt->data = g_strdup (element->data);
|
||||
|
||||
g_free (elt->attribute_values[prop_name_index]);
|
||||
|
@ -292,7 +292,7 @@ open_margin_window (void)
|
||||
{
|
||||
GtkWidget *box;
|
||||
int i;
|
||||
const char * margins[] = {
|
||||
const char *margins[] = {
|
||||
"margin-start",
|
||||
"margin-end",
|
||||
"margin-top",
|
||||
|
@ -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"));
|
||||
|
@ -84,7 +84,6 @@ test_nonzerox (void)
|
||||
gtk_widget_set_margin_top (child, 3);
|
||||
gtk_widget_set_margin_bottom (child, 3);
|
||||
|
||||
|
||||
return win;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user