diff options
author | Laurent Napias <[email protected]> | 2019-06-29 11:50:53 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-07-01 02:49:33 +0000 |
commit | 8d22bd7590c3487df96f8dc3972173236c66de87 (patch) | |
tree | 14ccecbfa067a2d7ab2bdb315686d01a20ecc084 /plugins/xsettings/xsettings-common.c | |
parent | 86362cdd37c71ad4d6b9a1c506838b201953fd29 (diff) | |
download | mate-settings-daemon-8d22bd7590c3487df96f8dc3972173236c66de87.tar.bz2 mate-settings-daemon-8d22bd7590c3487df96f8dc3972173236c66de87.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'plugins/xsettings/xsettings-common.c')
-rw-r--r-- | plugins/xsettings/xsettings-common.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/xsettings/xsettings-common.c b/plugins/xsettings/xsettings-common.c index 992175a..8e3e04c 100644 --- a/plugins/xsettings/xsettings-common.c +++ b/plugins/xsettings/xsettings-common.c @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * Author: Owen Taylor, Red Hat, Inc. @@ -33,7 +33,7 @@ xsettings_setting_copy (XSettingsSetting *setting) { XSettingsSetting *result; size_t str_len; - + result = malloc (sizeof *result); if (!result) return NULL; @@ -73,7 +73,7 @@ xsettings_setting_copy (XSettingsSetting *setting) if (result->name) free (result->name); free (result); - + return NULL; } @@ -105,7 +105,7 @@ xsettings_list_copy (XSettingsList *list) new = new_node; new_iter = new_node; - + old_iter = old_iter->next; } @@ -147,7 +147,7 @@ xsettings_setting_free (XSettingsSetting *setting) { if (setting->type == XSETTINGS_TYPE_STRING) free (setting->data.v_string); - + if (setting->name) free (setting->name); @@ -197,14 +197,14 @@ xsettings_list_insert (XSettingsList **list, last = iter; iter = iter->next; } - + if (last) last->next = node; else *list = node; - + node->next = iter; - + return XSETTINGS_SUCCESS; } @@ -224,7 +224,7 @@ xsettings_list_delete (XSettingsList **list, last->next = iter->next; else *list = iter->next; - + xsettings_setting_free (iter->setting); free (iter); |