Skip to content

Commit

Permalink
drop atk_text_free_ranges() which is now present in the win32 binary
Browse files Browse the repository at this point in the history
related to #9
  • Loading branch information
lawremi committed Feb 2, 2023
1 parent 3151830 commit 456e5e9
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions RGtk2/src/atkManuals.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,3 @@ S_atk_editable_text_insert_text(USER_OBJECT_ s_object, USER_OBJECT_ s_string, US
UNPROTECT(1);
return(_result);
}

/* This function is not provided in the win32 build of the library */
#ifdef WIN32
void
atk_text_free_ranges (AtkTextRange **ranges)
{
AtkTextRange **first = ranges;

if (ranges)
{
while (*ranges)
{
AtkTextRange *range;

range = *ranges;
(*ranges)++;
g_free (range->content);
g_free (range);
}
g_free (first);
}
}
#endif

0 comments on commit 456e5e9

Please sign in to comment.