diff options
author | Laurent Napias <[email protected]> | 2019-06-29 11:54:59 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-07-05 17:09:27 +0200 |
commit | 188846cecfda3b8f19e45ca37a60d817bff2afed (patch) | |
tree | 571ae1908573dd88f390482faf1a8c75ea61cc68 /mate-panel/libpanel-util | |
parent | 96ceed2717780188bc0eb84565d91617783d7192 (diff) | |
download | mate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.bz2 mate-panel-188846cecfda3b8f19e45ca37a60d817bff2afed.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'mate-panel/libpanel-util')
-rw-r--r-- | mate-panel/libpanel-util/panel-color.c | 2 | ||||
-rw-r--r-- | mate-panel/libpanel-util/panel-gtk.c | 8 | ||||
-rw-r--r-- | mate-panel/libpanel-util/panel-keyfile.c | 6 | ||||
-rw-r--r-- | mate-panel/libpanel-util/panel-list.c | 2 | ||||
-rw-r--r-- | mate-panel/libpanel-util/panel-show.h | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/mate-panel/libpanel-util/panel-color.c b/mate-panel/libpanel-util/panel-color.c index 864d68d8..f6148aaa 100644 --- a/mate-panel/libpanel-util/panel-color.c +++ b/mate-panel/libpanel-util/panel-color.c @@ -164,7 +164,7 @@ hls_to_rgb (gdouble *h, gdouble *l, gdouble *s) * Takes a colour "a", scales the lightness and saturation by a certain amount, * and sets "b" to the resulting colour. * gtkstyle.c cut-and-pastage. - */ + */ void gtk_style_shade (GdkRGBA *a, GdkRGBA *b, gdouble k) { diff --git a/mate-panel/libpanel-util/panel-gtk.c b/mate-panel/libpanel-util/panel-gtk.c index b575a7b2..a1db40fc 100644 --- a/mate-panel/libpanel-util/panel-gtk.c +++ b/mate-panel/libpanel-util/panel-gtk.c @@ -197,14 +197,14 @@ panel_image_menu_item_new_from_icon (const gchar *icon_name, concat = g_strconcat (label_name, " ", NULL); GtkWidget *label_menu = gtk_label_new_with_mnemonic (concat); GtkWidget *menuitem = gtk_menu_item_new (); - + context = gtk_widget_get_style_context (GTK_WIDGET(icon_box)); gtk_style_context_add_class(context,"mate-panel-menu-icon-box"); gtk_container_add (GTK_CONTAINER (icon_box), icon); gtk_container_add (GTK_CONTAINER (box), icon_box); gtk_container_add (GTK_CONTAINER (box), label_menu); - + gtk_container_add (GTK_CONTAINER (menuitem), box); gtk_widget_show_all (menuitem); @@ -238,11 +238,11 @@ panel_image_menu_item_new_from_gicon (GIcon *gicon, context = gtk_widget_get_style_context (GTK_WIDGET(icon_box)); gtk_style_context_add_class(context,"mate-panel-menu-icon-box"); - + gtk_container_add (GTK_CONTAINER (icon_box), icon); gtk_container_add (GTK_CONTAINER (box), icon_box); gtk_container_add (GTK_CONTAINER (box), label_menu); - + gtk_container_add (GTK_CONTAINER (menuitem), box); gtk_widget_show_all (menuitem); diff --git a/mate-panel/libpanel-util/panel-keyfile.c b/mate-panel/libpanel-util/panel-keyfile.c index 5cf4996e..181d1cff 100644 --- a/mate-panel/libpanel-util/panel-keyfile.c +++ b/mate-panel/libpanel-util/panel-keyfile.c @@ -191,7 +191,7 @@ panel_key_file_load_from_uri (GKeyFile *keyfile, ret = g_file_load_contents (file, NULL, &contents, &size, NULL, NULL); g_object_unref (file); - + if (!ret) return FALSE; @@ -213,7 +213,7 @@ panel_key_file_copy_and_mark_trusted (const char *source_path, gboolean res = FALSE; key_file = g_key_file_new (); - res = g_key_file_load_from_file (key_file, source_path, + res = g_key_file_load_from_file (key_file, source_path, G_KEY_FILE_KEEP_COMMENTS|G_KEY_FILE_KEEP_TRANSLATIONS, error); if (!res) { @@ -260,7 +260,7 @@ panel_key_file_set_locale_string (GKeyFile *keyfile, for (i = 0; langs_pointer[i] != NULL; i++) { /* find first without encoding */ if (strchr (langs_pointer[i], '.') == NULL) { - locale = langs_pointer[i]; + locale = langs_pointer[i]; break; } } diff --git a/mate-panel/libpanel-util/panel-list.c b/mate-panel/libpanel-util/panel-list.c index 3c0a9eec..9b1ad3f9 100644 --- a/mate-panel/libpanel-util/panel-list.c +++ b/mate-panel/libpanel-util/panel-list.c @@ -84,7 +84,7 @@ panel_g_list_insert_after (GList *list, link->prev = sibling; return list; } - + } else { link->next = list; list->prev = link; diff --git a/mate-panel/libpanel-util/panel-show.h b/mate-panel/libpanel-util/panel-show.h index 34111aaa..9964319a 100644 --- a/mate-panel/libpanel-util/panel-show.h +++ b/mate-panel/libpanel-util/panel-show.h @@ -1,5 +1,5 @@ /* - * panel-show.h: a helper around gtk_show_uri_on_window for gtk 3.22 + * panel-show.h: a helper around gtk_show_uri_on_window for gtk 3.22 * or gtk_show_uri for gtk 3.20 and earlier * * Copyright (C) 2008 Novell, Inc. |