[shotwell] Remove get_background_color() call
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Remove get_background_color() call
- Date: Sat, 31 Mar 2018 11:39:55 +0000 (UTC)
commit c8b3e2fb135f42505e2be0bbd07f7c405c2728e1
Author: Jens Georg <mail+gitkraken jensge org>
Date: Sat Mar 31 13:39:18 2018 +0200
Remove get_background_color() call
src/CheckerboardLayout.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/CheckerboardLayout.vala b/src/CheckerboardLayout.vala
index be7756f..f39a4f7 100644
--- a/src/CheckerboardLayout.vala
+++ b/src/CheckerboardLayout.vala
@@ -1906,7 +1906,7 @@ public class CheckerboardLayout : Gtk.DrawingArea {
selected_color = Config.Facade.get_instance().get_selected_color(in_focus);
unselected_color = Config.Facade.get_instance().get_unselected_color();
border_color = Config.Facade.get_instance().get_border_color();
- bg_color = get_style_context().get_background_color(Gtk.StateFlags.NORMAL);
+ bg_color = Config.Facade.get_instance().get_bg_color();
}
public override void size_allocate(Gtk.Allocation allocation) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]