Skip to content

Commit 5979b99

Browse files
leonardcserhpjansson
authored andcommitted
ChafaPalette: Inline palette search helpers
1 parent cf39899 commit 5979b99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

chafa/internal/chafa-palette.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ init_candidates (ChafaColorCandidates *candidates)
103103
candidates->error [0] = candidates->error [1] = G_MAXINT;
104104
}
105105

106-
static gboolean
106+
static inline gboolean
107107
update_candidates (ChafaColorCandidates *candidates, gint index, gint error)
108108
{
109109
if (error < candidates->error [0])
@@ -237,7 +237,7 @@ chafa_init_palette (void)
237237
palette_initialized = TRUE;
238238
}
239239

240-
static gint
240+
static inline gint
241241
update_candidates_with_color_index_diff (ChafaColorCandidates *candidates, ChafaColorSpace color_space, const ChafaColor *color, gint index)
242242
{
243243
const ChafaColor *palette_color;

0 commit comments

Comments
 (0)