sizerequestcache: Use int instead of gint

This commit is contained in:
Timm Bäder 2018-04-21 09:22:59 +02:00
parent bb412cdda1
commit bd855c11ab
2 changed files with 20 additions and 20 deletions

View File

@ -72,11 +72,11 @@ _gtk_size_request_cache_clear (SizeRequestCache *cache)
void
_gtk_size_request_cache_commit (SizeRequestCache *cache,
GtkOrientation orientation,
gint for_size,
gint minimum_size,
gint natural_size,
gint minimum_baseline,
gint natural_baseline)
int for_size,
int minimum_size,
int natural_size,
int minimum_baseline,
int natural_baseline)
{
guint i, n_sizes;
@ -213,11 +213,11 @@ _gtk_size_request_cache_commit (SizeRequestCache *cache,
gboolean
_gtk_size_request_cache_lookup (SizeRequestCache *cache,
GtkOrientation orientation,
gint for_size,
gint *minimum,
gint *natural,
gint *minimum_baseline,
gint *natural_baseline)
int for_size,
int *minimum,
int *natural,
int *minimum_baseline,
int *natural_baseline)
{
if (orientation == GTK_ORIENTATION_HORIZONTAL)
{

View File

@ -86,18 +86,18 @@ void _gtk_size_request_cache_free (SizeRequestCach
void _gtk_size_request_cache_clear (SizeRequestCache *cache);
void _gtk_size_request_cache_commit (SizeRequestCache *cache,
GtkOrientation orientation,
gint for_size,
gint minimum_size,
gint natural_size,
gint minimum_baseline,
gint natural_baseline);
int for_size,
int minimum_size,
int natural_size,
int minimum_baseline,
int natural_baseline);
gboolean _gtk_size_request_cache_lookup (SizeRequestCache *cache,
GtkOrientation orientation,
gint for_size,
gint *minimum,
gint *natural,
gint *minimum_baseline,
gint *natural_baseline);
int for_size,
int *minimum,
int *natural,
int *minimum_baseline,
int *natural_baseline);
G_END_DECLS