summaryrefslogtreecommitdiff
path: root/test/test-caja-wrap-table.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-06-16 13:37:09 +0200
committerraveit65 <[email protected]>2019-06-18 14:46:34 +0200
commite0e185b1790f5a670cdd1292bac75ad1c44e4996 (patch)
treeb5d170259858c497dbfb813c0ddb55a197a2c5ca /test/test-caja-wrap-table.c
parentef29013fdfd0df5d4a3cc6c5a8fb1583aabef952 (diff)
downloadcaja-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-caja-wrap-table.c')
-rw-r--r--test/test-caja-wrap-table.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/test-caja-wrap-table.c b/test/test-caja-wrap-table.c
index d0a66079..8d6a4918 100644
--- a/test/test-caja-wrap-table.c
+++ b/test/test-caja-wrap-table.c
@@ -6,7 +6,7 @@
#include "test.h"
-int
+int
main (int argc, char* argv[])
{
CajaCustomizationData *customization_data;
@@ -27,7 +27,7 @@ main (int argc, char* argv[])
gtk_widget_show (emblems_table);
gtk_container_set_border_width (GTK_CONTAINER (emblems_table), 8);
-
+
scroller = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroller),
GTK_POLICY_NEVER,
@@ -42,30 +42,30 @@ main (int argc, char* argv[])
gtk_widget_show (scroller);
#if 0
- /* Get rid of default lowered shadow appearance.
+ /* Get rid of default lowered shadow appearance.
* This must be done after the widget is realized, due to
* an apparent bug in gtk_viewport_set_shadow_type.
*/
- g_signal_connect (GTK_BIN (scroller->child),
- "realize",
- remove_default_viewport_shadow,
+ g_signal_connect (GTK_BIN (scroller->child),
+ "realize",
+ remove_default_viewport_shadow,
NULL);
#endif
/* Use caja_customization to make the emblem widgets */
customization_data = caja_customization_data_new ("emblems", TRUE,
- CAJA_ICON_SIZE_SMALL,
+ CAJA_ICON_SIZE_SMALL,
CAJA_ICON_SIZE_SMALL);
-
+
while (caja_customization_data_get_next_element_for_display (customization_data,
&emblem_name,
&pixbuf,
- &label)) {
+ &label)) {
stripped_name = eel_filename_strip_extension (emblem_name);
g_free (emblem_name);
-
+
if (strcmp (stripped_name, "erase") == 0) {
g_object_unref (pixbuf);
g_free (label);
@@ -82,15 +82,15 @@ main (int argc, char* argv[])
"caja_property_name",
stripped_name,
(GDestroyNotify) g_free);
-
+
gtk_container_add (GTK_CONTAINER (emblems_table), button);
}
gtk_widget_show_all (emblems_table);
gtk_widget_show (window);
-
+
gtk_main ();
-
+
return 0;
}