[geany/geany] a5c795: Rename sci_set_font_fract() to sci_set_font_fractional()
Colomban Wendling
git-noreply at xxxxx
Fri Aug 9 07:57:52 UTC 2019
Branch: refs/heads/fractional_fonts
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Fri, 09 Aug 2019 07:57:52 UTC
Commit: a5c795f44168262d3022209c762f51d0433af8bd
https://github.com/geany/geany/commit/a5c795f44168262d3022209c762f51d0433af8bd
Log Message:
-----------
Rename sci_set_font_fract() to sci_set_font_fractional()
Modified Paths:
--------------
src/editor.c
src/sciwrappers.c
src/sciwrappers.h
Modified: src/editor.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -4604,7 +4604,7 @@ void editor_set_font(GeanyEditor *editor, const gchar *font)
pango_font_description_free(pfd);
for (style = 0; style <= STYLE_MAX; style++)
- sci_set_font_fract(editor->sci, style, font_name, size);
+ sci_set_font_fractional(editor->sci, style, font_name, size);
g_free(font_name);
Modified: src/sciwrappers.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -944,7 +944,7 @@ gint sci_find_text(ScintillaObject *sci, gint flags, struct Sci_TextToFind *ttf)
* @param style The style.
* @param font The font name.
* @param size The font (fractional) size. */
-void sci_set_font_fract(ScintillaObject *sci, gint style, const gchar *font, gdouble size)
+void sci_set_font_fractional(ScintillaObject *sci, gint style, const gchar *font, gdouble size)
{
SSM(sci, SCI_STYLESETFONT, (uptr_t) style, (sptr_t) font);
@@ -960,7 +960,7 @@ void sci_set_font_fract(ScintillaObject *sci, gint style, const gchar *font, gdo
GEANY_API_SYMBOL
void sci_set_font(ScintillaObject *sci, gint style, const gchar *font, gint size)
{
- sci_set_font_fract(sci, style, font, size);
+ sci_set_font_fractional(sci, style, font, size);
}
Modified: src/sciwrappers.h
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -80,7 +80,7 @@ gchar sci_get_char_at (ScintillaObject *sci, gint pos);
void sci_scroll_caret (ScintillaObject *sci);
gint sci_find_text (ScintillaObject *sci, gint flags, struct Sci_TextToFind *ttf);
-void sci_set_font_fract (ScintillaObject *sci, gint style, const gchar *font, gdouble size);
+void sci_set_font_fractional (ScintillaObject *sci, gint style, const gchar *font, gdouble size);
void sci_set_font (ScintillaObject *sci, gint style, const gchar *font, gint size);
void sci_goto_line (ScintillaObject *sci, gint line, gboolean unfold);
gint sci_get_style_at (ScintillaObject *sci, gint position);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list