summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:50:56 +0200
committerraveit65 <[email protected]>2021-12-11 15:29:43 +0100
commit03e38ada456be8fecd04fde9fa6a8293816292aa (patch)
treeedea823dde15fd6e9726246785e9f303f3777ede /libmate-desktop/mate-bg.c
parentbc46804cd6dd0da229a4b84c3cfca73c7ef44f90 (diff)
downloadmate-desktop-03e38ada456be8fecd04fde9fa6a8293816292aa.tar.bz2
mate-desktop-03e38ada456be8fecd04fde9fa6a8293816292aa.tar.xz
Use a blank line at most
Diffstat (limited to 'libmate-desktop/mate-bg.c')
-rw-r--r--libmate-desktop/mate-bg.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c
index e511975..60513ea 100644
--- a/libmate-desktop/mate-bg.c
+++ b/libmate-desktop/mate-bg.c
@@ -441,7 +441,6 @@ mate_bg_save_to_gsettings (MateBG *bg,
g_free (secondary);
}
-
static void
mate_bg_init (MateBG *bg)
{
@@ -940,7 +939,6 @@ get_scaled_pixbuf (MateBGPlacement placement,
return new;
}
-
static void
draw_image_area (MateBG *bg,
gint num_monitor,
@@ -1223,7 +1221,6 @@ mate_bg_create_surface_scale (MateBG *bg,
return surface;
}
-
/* determine if a background is darker or lighter than average, to help
* clients know what colors to draw on top with
*/
@@ -1703,7 +1700,6 @@ struct _SlideShow
GQueue *stack;
};
-
#if GLIB_CHECK_VERSION(2,61,2)
static double
now (void)
@@ -2050,7 +2046,6 @@ blow_expensive_caches_in_idle (MateBG *bg)
}
}
-
static gboolean
on_timeout (gpointer data)
{
@@ -3061,7 +3056,6 @@ read_slideshow_file (const char *filename,
show = NULL;
}
-
if (show) {
if (!g_markup_parse_context_end_parse (context, err)) {
slideshow_unref (show);
@@ -3132,7 +3126,6 @@ create_thumbnail_for_filename (MateDesktopThumbnailFactory *factory,
result = pixbuf_scale_to_fit (orig, THUMBNAIL_SIZE, THUMBNAIL_SIZE);
-
g_object_set_data_full (G_OBJECT (result), "mate-thumbnail-height",
g_strdup_printf ("%d", orig_height), g_free);
g_object_set_data_full (G_OBJECT (result), "mate-thumbnail-width",
@@ -3236,7 +3229,6 @@ mate_bg_create_frame_thumbnail (MateBG *bg,
if (!show)
return NULL;
-
if (frame_num < 0 || frame_num >= g_queue_get_length (show->slides))
return NULL;
@@ -3258,7 +3250,6 @@ mate_bg_create_frame_thumbnail (MateBG *bg,
if (!found)
return NULL;
-
result = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, dest_width, dest_height);
draw_color (bg, result);