diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 15:54:49 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | d7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (patch) | |
tree | 8dc515efd6e0c0b0da1d7e02049f284edd6050ff /gtk/gtkcellrendererpixbuf.c | |
parent | 46423e614d4fcf142d9578d4788dde664ea280f9 (diff) | |
download | gtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz |
Replace "gint" with "int"
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r-- | gtk/gtkcellrendererpixbuf.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index bb240bae91..8616478b0a 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -63,10 +63,10 @@ static void gtk_cell_renderer_pixbuf_set_property (GObject * static void gtk_cell_renderer_pixbuf_get_size (GtkCellRenderer *cell, GtkWidget *widget, const GdkRectangle *rectangle, - gint *x_offset, - gint *y_offset, - gint *width, - gint *height); + int *x_offset, + int *y_offset, + int *width, + int *height); static void gtk_cell_renderer_pixbuf_snapshot (GtkCellRenderer *cell, GtkSnapshot *snapshot, GtkWidget *widget, @@ -412,18 +412,18 @@ static void gtk_cell_renderer_pixbuf_get_size (GtkCellRenderer *cell, GtkWidget *widget, const GdkRectangle *cell_area, - gint *x_offset, - gint *y_offset, - gint *width, - gint *height) + int *x_offset, + int *y_offset, + int *width, + int *height) { GtkCellRendererPixbuf *cellpixbuf = GTK_CELL_RENDERER_PIXBUF (cell); GtkCellRendererPixbufPrivate *priv = gtk_cell_renderer_pixbuf_get_instance_private (cellpixbuf); - gint pixbuf_width; - gint pixbuf_height; - gint calc_width; - gint calc_height; - gint xpad, ypad; + int pixbuf_width; + int pixbuf_height; + int calc_width; + int calc_height; + int xpad, ypad; GtkStyleContext *context; GtkIconHelper *icon_helper; @@ -459,8 +459,8 @@ gtk_cell_renderer_pixbuf_get_size (GtkCellRenderer *cell, } gtk_cell_renderer_get_padding (cell, &xpad, &ypad); - calc_width = (gint) xpad * 2 + pixbuf_width; - calc_height = (gint) ypad * 2 + pixbuf_height; + calc_width = (int) xpad * 2 + pixbuf_width; + calc_height = (int) ypad * 2 + pixbuf_height; if (cell_area && pixbuf_width > 0 && pixbuf_height > 0) { @@ -508,7 +508,7 @@ gtk_cell_renderer_pixbuf_snapshot (GtkCellRenderer *cell, GtkStyleContext *context; GdkRectangle pix_rect; gboolean is_expander; - gint xpad, ypad; + int xpad, ypad; GtkIconHelper *icon_helper; gtk_cell_renderer_pixbuf_get_size (cell, widget, (GdkRectangle *) cell_area, |