[gnome-flashback] common: remove gf_bg_draw



commit 49788f7d18a7c630d9b13f57687009a8345f3a96
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Mar 20 16:44:19 2021 +0200

    common: remove gf_bg_draw

 gnome-flashback/libcommon/gf-bg.c | 12 ------------
 gnome-flashback/libcommon/gf-bg.h |  5 -----
 2 files changed, 17 deletions(-)
---
diff --git a/gnome-flashback/libcommon/gf-bg.c b/gnome-flashback/libcommon/gf-bg.c
index 1003e14..841d5c9 100644
--- a/gnome-flashback/libcommon/gf-bg.c
+++ b/gnome-flashback/libcommon/gf-bg.c
@@ -911,18 +911,6 @@ gf_bg_draw_at_scale (GfBG      *bg,
        }
 }
 
-void
-gf_bg_draw (GfBG      *bg,
-            GdkPixbuf *dest,
-            GdkScreen *screen,
-            gboolean   is_root)
-{
-       if (!bg)
-               return;
-
-       gf_bg_draw_at_scale (bg, dest, 1, screen, is_root);
-}
-
 static void
 gf_bg_get_pixmap_size (GfBG *bg,
                        int   width,
diff --git a/gnome-flashback/libcommon/gf-bg.h b/gnome-flashback/libcommon/gf-bg.h
index 4e28d2d..ea24f6f 100644
--- a/gnome-flashback/libcommon/gf-bg.h
+++ b/gnome-flashback/libcommon/gf-bg.h
@@ -51,11 +51,6 @@ void             gf_bg_set_rgba                 (GfBG                  *bg,
                                                 GdkRGBA               *primary,
                                                 GdkRGBA               *secondary);
 
-/* Drawing */
-void             gf_bg_draw                     (GfBG                  *bg,
-                                                GdkPixbuf             *dest,
-                                                GdkScreen             *screen,
-                                                 gboolean               is_root);
 cairo_surface_t *gf_bg_create_surface           (GfBG                  *bg,
                                                 GdkWindow             *window,
                                                 int                    width,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]