[gnome-boxes] util-app: Drop unused method
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] util-app: Drop unused method
- Date: Mon, 8 Jan 2018 09:36:32 +0000 (UTC)
commit 3e88b72acbafca56ce16c072dbaf29d4b05b0480
Author: Felipe Borges <felipeborges gnome org>
Date: Thu Jan 4 14:42:27 2018 +0100
util-app: Drop unused method
This method depended on libgd, which we plan to drop soon.
https://bugzilla.gnome.org/show_bug.cgi?id=792204
src/util-app.vala | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/util-app.vala b/src/util-app.vala
index 2428e18..aba87cf 100644
--- a/src/util-app.vala
+++ b/src/util-app.vala
@@ -563,16 +563,6 @@ namespace Boxes {
}
}
- // shamelessly copied from gnome-documents
- public GLib.Icon create_symbolic_emblem (string name) {
- var pix = Gd.create_symbolic_icon (name, 128);
-
- if (pix == null)
- pix = new GLib.ThemedIcon (name);
-
- return pix;
- }
-
public Gdk.Pixbuf? paint_empty_frame (int width, int height, double radius, Gdk.RGBA border_color,
Gdk.RGBA? bg_color) {
var surface = new Cairo.ImageSurface (Cairo.Format.ARGB32, width, height);
var cr = new Cairo.Context (surface);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]