diff options
author | rbuj <[email protected]> | 2019-06-16 13:37:09 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-18 14:46:34 +0200 |
commit | e0e185b1790f5a670cdd1292bac75ad1c44e4996 (patch) | |
tree | b5d170259858c497dbfb813c0ddb55a197a2c5ca /test/test.c | |
parent | ef29013fdfd0df5d4a3cc6c5a8fb1583aabef952 (diff) | |
download | caja-e0e185b1790f5a670cdd1292bac75ad1c44e4996.tar.bz2 caja-e0e185b1790f5a670cdd1292bac75ad1c44e4996.tar.xz |
Remove trailing whitespaces
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/test.c b/test/test.c index 103f8b85..d50d3321 100644 --- a/test/test.c +++ b/test/test.c @@ -35,16 +35,16 @@ test_window_new (const char *title, guint border_width) GtkWidget *window; window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - + if (title != NULL) { gtk_window_set_title (GTK_WINDOW (window), title); } g_signal_connect (window, "delete_event", G_CALLBACK (test_delete_event), NULL); - + gtk_container_set_border_width (GTK_CONTAINER (window), border_width); - + return window; } @@ -59,7 +59,7 @@ test_gtk_widget_set_background_image (GtkWidget *widget, g_return_if_fail (image_name != NULL); background = eel_get_widget_background (widget); - + uri = g_strdup_printf ("file://%s/%s", CAJA_DATADIR, image_name); eel_background_set_image_uri (background, uri); @@ -77,7 +77,7 @@ test_gtk_widget_set_background_color (GtkWidget *widget, g_return_if_fail (color_spec != NULL); background = eel_get_widget_background (widget); - + eel_background_set_color (background, color_spec); } @@ -101,7 +101,7 @@ test_pixbuf_new_named (const char *name, float scale) g_free (path); g_return_val_if_fail (pixbuf != NULL, NULL); - + if (scale != 1.0) { GdkPixbuf *scaled; float width = gdk_pixbuf_get_width (pixbuf) * scale; @@ -129,18 +129,18 @@ test_label_new (const char *text, if (text == NULL) { text = "Foo"; } - + label = gtk_label_new (text); return label; } -void +void test_window_set_title_with_pid (GtkWindow *window, const char *title) { char *tmp; - + g_return_if_fail (GTK_IS_WINDOW (window)); tmp = g_strdup_printf ("%lu: %s", (gulong) getpid (), title); |