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 void
_gtk_size_request_cache_commit (SizeRequestCache *cache, _gtk_size_request_cache_commit (SizeRequestCache *cache,
GtkOrientation orientation, GtkOrientation orientation,
gint for_size, int for_size,
gint minimum_size, int minimum_size,
gint natural_size, int natural_size,
gint minimum_baseline, int minimum_baseline,
gint natural_baseline) int natural_baseline)
{ {
guint i, n_sizes; guint i, n_sizes;
@ -213,11 +213,11 @@ _gtk_size_request_cache_commit (SizeRequestCache *cache,
gboolean gboolean
_gtk_size_request_cache_lookup (SizeRequestCache *cache, _gtk_size_request_cache_lookup (SizeRequestCache *cache,
GtkOrientation orientation, GtkOrientation orientation,
gint for_size, int for_size,
gint *minimum, int *minimum,
gint *natural, int *natural,
gint *minimum_baseline, int *minimum_baseline,
gint *natural_baseline) int *natural_baseline)
{ {
if (orientation == GTK_ORIENTATION_HORIZONTAL) 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_clear (SizeRequestCache *cache);
void _gtk_size_request_cache_commit (SizeRequestCache *cache, void _gtk_size_request_cache_commit (SizeRequestCache *cache,
GtkOrientation orientation, GtkOrientation orientation,
gint for_size, int for_size,
gint minimum_size, int minimum_size,
gint natural_size, int natural_size,
gint minimum_baseline, int minimum_baseline,
gint natural_baseline); int natural_baseline);
gboolean _gtk_size_request_cache_lookup (SizeRequestCache *cache, gboolean _gtk_size_request_cache_lookup (SizeRequestCache *cache,
GtkOrientation orientation, GtkOrientation orientation,
gint for_size, int for_size,
gint *minimum, int *minimum,
gint *natural, int *natural,
gint *minimum_baseline, int *minimum_baseline,
gint *natural_baseline); int *natural_baseline);
G_END_DECLS G_END_DECLS