summaryrefslogtreecommitdiff
path: root/capplets/common
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:23:33 +0200
committerraveit65 <[email protected]>2021-11-20 21:45:51 +0100
commit17ccb4f4bd610252e4ea600546750ddcc09c855a (patch)
treee1cc1783e0d46cb80c52d2a40b748925141f25ee /capplets/common
parent9d702031671fa8aa4cdf6ea512b3f59b8ea3da37 (diff)
downloadmate-control-center-17ccb4f4bd610252e4ea600546750ddcc09c855a.tar.bz2
mate-control-center-17ccb4f4bd610252e4ea600546750ddcc09c855a.tar.xz
Use a blank line at most
Diffstat (limited to 'capplets/common')
-rw-r--r--capplets/common/gtkrc-utils.c1
-rw-r--r--capplets/common/mate-theme-info.c2
-rw-r--r--capplets/common/theme-thumbnail.c6
3 files changed, 0 insertions, 9 deletions
diff --git a/capplets/common/gtkrc-utils.c b/capplets/common/gtkrc-utils.c
index b78cbb25..4b5ac0e1 100644
--- a/capplets/common/gtkrc-utils.c
+++ b/capplets/common/gtkrc-utils.c
@@ -176,7 +176,6 @@ void gtkrc_get_details(gchar* filename, GSList** engines, GSList** symbolic_colo
g_scanner_destroy (scanner);
}
-
gchar *
gtkrc_get_color_scheme (const gchar *gtkrc_file)
{
diff --git a/capplets/common/mate-theme-info.c b/capplets/common/mate-theme-info.c
index 6971602e..1294b7d2 100644
--- a/capplets/common/mate-theme-info.c
+++ b/capplets/common/mate-theme-info.c
@@ -88,7 +88,6 @@ typedef struct {
gint priority;
} CallbackTuple;
-
/* Hash tables */
/* The hashes_by_dir are indexed by an escaped uri of the common_theme_dir that
@@ -1020,7 +1019,6 @@ add_common_theme_dir_monitor (GFile *theme_dir_uri,
monitor_data->common_theme_dir_handle = monitor;
-
/* gtk-2 theme subdir */
subdir = g_file_get_child (theme_dir_uri, "gtk-2.0");
uri = g_file_get_child (subdir, "gtkrc");
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,