[gnome-games/wip/exalm/gtk4: 45/48] savestate-listbox-row: Don't draw background and border
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/gtk4: 45/48] savestate-listbox-row: Don't draw background and border
- Date: Wed, 21 Aug 2019 22:51:01 +0000 (UTC)
commit 5a12c7d97b207db1d9fba18017dbb90b6fd2b8f0
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Mon Aug 19 23:48:31 2019 +0500
savestate-listbox-row: Don't draw background and border
src/ui/savestate-listbox-row.vala | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/ui/savestate-listbox-row.vala b/src/ui/savestate-listbox-row.vala
index cc5b3c47..ce5593bc 100644
--- a/src/ui/savestate-listbox-row.vala
+++ b/src/ui/savestate-listbox-row.vala
@@ -111,10 +111,6 @@ private class Games.SavestateListBoxRow : Gtk.ListBoxRow {
}
public void draw_image (Gtk.DrawingArea area, Cairo.Context cr, int width, int height) {
- var style = image.get_style_context ();
- style.render_background (cr, 0.0, 0.0, width, height);
- style.render_frame (cr, 0.0, 0.0, width, height);
-
cr.save ();
cr.scale (1.0 / scale_factor, 1.0 / scale_factor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]