diff options
author | Ondrej Holy <oholy@redhat.com> | 2020-02-13 14:10:55 +0100 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2020-04-05 16:22:26 +0000 |
commit | fd2e7dfdead8e9046884ca21dcad034e160dae68 (patch) | |
tree | 0a3a9bc8bd5ee313b8364e3b5dae477c37476f68 /eel | |
parent | bec3229e998852f69933e500e676fccb76d1c4cb (diff) | |
download | nautilus-fd2e7dfdead8e9046884ca21dcad034e160dae68.tar.gz |
general: Run uncrustify script
There are some style issue since the last run. Let's run it again
before enabling style-check CI job.
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-canvas.c | 7 | ||||
-rw-r--r-- | eel/eel-string.c | 50 |
2 files changed, 29 insertions, 28 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index e6dc73327..e3ccfbd5d 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -2484,9 +2484,10 @@ scroll_to (EelCanvas *canvas, if ((canvas->zoom_xofs != old_zoom_xofs) || (canvas->zoom_yofs != old_zoom_yofs)) { - /* This can only occur, if either canvas size or widget size changes */ - /* So I think we can request full redraw here */ - /* More stuff - we have to mark root as needing fresh affine (Lauris) */ + /* This can only occur, if either canvas size or widget size changes + * So I think we can request full redraw here + * More stuff - we have to mark root as needing fresh affine (Lauris) + */ if (!(canvas->root->flags & EEL_CANVAS_ITEM_NEED_DEEP_UPDATE)) { canvas->root->flags |= EEL_CANVAS_ITEM_NEED_DEEP_UPDATE; diff --git a/eel/eel-string.c b/eel/eel-string.c index f6498fc9a..5d70089a8 100644 --- a/eel/eel-string.c +++ b/eel/eel-string.c @@ -110,14 +110,14 @@ eel_str_capitalize (const char *string) } /** -* eel_str_middle_truncate: -* @string: (not nullable): input string -* truncate_length: length of the truncated string -* -* Returns: (transfer full): a newly-allocated copy of @string with its middle -* truncated and replaced with ellipsis to fit into @truncate_length characters. -* If length of @string is already small enough, returns a copy of @string. -*/ + * eel_str_middle_truncate: + * @string: (not nullable): input string + * truncate_length: length of the truncated string + * + * Returns: (transfer full): a newly-allocated copy of @string with its middle + * truncated and replaced with ellipsis to fit into @truncate_length characters. + * If length of @string is already small enough, returns a copy of @string. + */ gchar * eel_str_middle_truncate (const gchar *string, guint truncate_length) @@ -161,14 +161,14 @@ eel_str_middle_truncate (const gchar *string, } /** -* eel_str_strip_substring_and_after: -* @string: input string -* @substring: (not nullable): substring to use in search -* -* Returns: (transfer full): a copy of @string with the first occurence of -* @substring removed, along with any trailing characters. -* If @string is %NULL, returns %NULL. -*/ + * eel_str_strip_substring_and_after: + * @string: input string + * @substring: (not nullable): substring to use in search + * + * Returns: (transfer full): a copy of @string with the first occurence of + * @substring removed, along with any trailing characters. + * If @string is %NULL, returns %NULL. + */ char * eel_str_strip_substring_and_after (const char *string, const char *substring) @@ -194,14 +194,14 @@ eel_str_strip_substring_and_after (const char *string, } /** -* eel_str_replace_substring: -* @string: input string -* @substring: (not nullable): string to be replaced -* @replacement: string used as replacement -* -* Returns: (transfer full): a copy of @string with all occurences of @substring -* replaced with @replacement. -*/ + * eel_str_replace_substring: + * @string: input string + * @substring: (not nullable): string to be replaced + * @replacement: string used as replacement + * + * Returns: (transfer full): a copy of @string with all occurences of @substring + * replaced with @replacement. + */ char * eel_str_replace_substring (const char *string, const char *substring, @@ -320,7 +320,7 @@ get_common_prefix_length (char *str_a, * Returns: (transfer full): the common prefix for strings in @strs. * If no such prefix exists or if the common prefix is smaller than * @min_required_len, %NULL is returned. -*/ + */ char * eel_str_get_common_prefix (GList *strs, int min_required_len) |