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-eel-editable-label.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-eel-editable-label.c')
-rw-r--r-- | test/test-eel-editable-label.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/test-eel-editable-label.c b/test/test-eel-editable-label.c index 2f878fa9..ef947212 100644 --- a/test/test-eel-editable-label.c +++ b/test/test-eel-editable-label.c @@ -12,13 +12,13 @@ quit (GtkWidget *widget, gpointer data) gtk_main_quit (); } -int +int main (int argc, char* argv[]) { GtkWidget *window; GtkWidget *label; GtkWidget *vbox; - + gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); @@ -27,30 +27,30 @@ main (int argc, char* argv[]) vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_container_add (GTK_CONTAINER (window), vbox); - + label = eel_editable_label_new ("Centered dsau dsfgsdfgoydsfiugy oiusdyfg iouysdf goiuys dfioguy siodufgy iusdyfgiu ydsf giusydf gouiysdfgoiuysdfg oiudyfsg Label"); gtk_widget_set_size_request (label, 200, -1); eel_editable_label_set_line_wrap (EEL_EDITABLE_LABEL (label), TRUE); - + gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 4); label = eel_editable_label_new ("Left aligned label"); gtk_label_set_xalign (GTK_LABEL (label), 0.0); - + gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 4); label = eel_editable_label_new ("Right aligned label"); gtk_label_set_xalign (GTK_LABEL (label), 1.0); - + gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 4); - + gtk_window_set_default_size (GTK_WINDOW (window), 300, 300); - - gtk_widget_show_all (window); - + + gtk_widget_show_all (window); + gtk_main (); return 0; |