From 17ccb4f4bd610252e4ea600546750ddcc09c855a Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 17:23:33 +0200 Subject: Use a blank line at most --- capplets/common/theme-thumbnail.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'capplets/common/theme-thumbnail.c') diff --git a/capplets/common/theme-thumbnail.c b/capplets/common/theme-thumbnail.c index 2c1957ce..8c92d386 100644 --- a/capplets/common/theme-thumbnail.c +++ b/capplets/common/theme-thumbnail.c @@ -19,7 +19,6 @@ #include "gtkrc-utils.h" #include "capplet-util.h" - typedef struct { gboolean set; gint thumbnail_width; @@ -33,7 +32,6 @@ typedef struct { guint watch_id; } ThemeThumbnailAsyncData; - static ThemeThumbnailAsyncData async_data; /* Protocol */ @@ -89,7 +87,6 @@ static int pipe_from_factory_fd[2]; #define MARCO_THUMBNAIL_WIDTH 120 #define MARCO_THUMBNAIL_HEIGHT 60 - static void pixbuf_apply_mask_region(GdkPixbuf* pixbuf, cairo_region_t* region) { gint nchannels, rowstride, w, h; @@ -102,7 +99,6 @@ static void pixbuf_apply_mask_region(GdkPixbuf* pixbuf, cairo_region_t* region) rowstride = gdk_pixbuf_get_rowstride (pixbuf); pixels = gdk_pixbuf_get_pixels (pixbuf); - /* we need an alpha channel ... */ if (!gdk_pixbuf_get_has_alpha (pixbuf) || nchannels != 4) return; @@ -408,7 +404,6 @@ create_marco_theme_pixbuf (ThemeThumbnailData *theme_thumbnail_data) pixbuf_apply_mask_region (pixbuf, region); cairo_region_destroy (region); - retval = gdk_pixbuf_scale_simple (pixbuf, MARCO_THUMBNAIL_WIDTH, MARCO_THUMBNAIL_HEIGHT, @@ -427,7 +422,6 @@ create_icon_theme_pixbuf (ThemeThumbnailData *theme_thumbnail_data) return create_folder_icon ((char *) theme_thumbnail_data->icon_theme_name->data); } - static void handle_bytes (const guint8 *buffer, gint bytes_read, -- cgit v1.2.1