summaryrefslogtreecommitdiff
path: root/gtk/gtkimage.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 15:54:49 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commitd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (patch)
tree8dc515efd6e0c0b0da1d7e02049f284edd6050ff /gtk/gtkimage.c
parent46423e614d4fcf142d9578d4788dde664ea280f9 (diff)
downloadgtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz
Replace "gint" with "int"
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r--gtk/gtkimage.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 3a0399e939..f4866cf3ba 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -552,17 +552,17 @@ gtk_image_new_from_gicon (GIcon *icon)
typedef struct {
GtkImage *image;
- gint scale_factor;
+ int scale_factor;
} LoaderData;
static void
on_loader_size_prepared (GdkPixbufLoader *loader,
- gint width,
- gint height,
+ int width,
+ int height,
gpointer user_data)
{
LoaderData *loader_data = user_data;
- gint scale_factor;
+ int scale_factor;
GdkPixbufFormat *format;
/* Let the regular icon helper code path handle non-scalable images */
@@ -582,7 +582,7 @@ static GdkPixbufAnimation *
load_scalable_with_loader (GtkImage *image,
const gchar *file_path,
const gchar *resource_path,
- gint *scale_factor_out)
+ int *scale_factor_out)
{
GdkPixbufLoader *loader;
GBytes *bytes;
@@ -652,7 +652,7 @@ gtk_image_set_from_file (GtkImage *image,
const gchar *filename)
{
GdkPixbufAnimation *anim;
- gint scale_factor;
+ int scale_factor;
GdkTexture *texture;
GdkPaintable *scaler;
@@ -734,7 +734,7 @@ gtk_image_set_from_resource (GtkImage *image,
const gchar *resource_path)
{
GdkPixbufAnimation *animation;
- gint scale_factor = 1;
+ int scale_factor = 1;
GdkTexture *texture;
GdkPaintable *scaler;
@@ -1288,7 +1288,7 @@ gtk_image_system_setting_changed (GtkWidget *widget,
*/
void
gtk_image_set_pixel_size (GtkImage *image,
- gint pixel_size)
+ int pixel_size)
{
g_return_if_fail (GTK_IS_IMAGE (image));
@@ -1308,7 +1308,7 @@ gtk_image_set_pixel_size (GtkImage *image,
*
* Returns: the pixel size used for named icons.
*/
-gint
+int
gtk_image_get_pixel_size (GtkImage *image)
{
g_return_val_if_fail (GTK_IS_IMAGE (image), -1);