[gnome-contacts/wip/sorted] Don't use deprecated functions in Sorted
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/wip/sorted] Don't use deprecated functions in Sorted
- Date: Tue, 15 May 2012 11:11:05 +0000 (UTC)
commit d09f179b9df2907c0d3e1fcf5ec42e53f94c9c80
Author: Alexander Larsson <alexl redhat com>
Date: Tue May 15 11:04:38 2012 +0200
Don't use deprecated functions in Sorted
src/contacts-sorted.vala | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/contacts-sorted.vala b/src/contacts-sorted.vala
index 8d938ef..49f097c 100644
--- a/src/contacts-sorted.vala
+++ b/src/contacts-sorted.vala
@@ -485,21 +485,21 @@ public class Contacts.Sorted : Container {
var context = this.get_style_context ();
context.save ();
- Gtk.render_background (context, cr,
- 0, 0, allocation.width, allocation.height);
+ context.render_background (cr,
+ 0, 0, allocation.width, allocation.height);
if (selected_child != null) {
context.set_state (StateFlags.SELECTED);
- Gtk.render_background (context, cr,
- 0, selected_child.y,
- allocation.width, selected_child.height);
+ context.render_background (cr,
+ 0, selected_child.y,
+ allocation.width, selected_child.height);
}
if (prelight_child != null && prelight_child != selected_child) {
context.set_state (StateFlags.PRELIGHT);
- Gtk.render_background (context, cr,
- 0, prelight_child.y,
- allocation.width, prelight_child.height);
+ context.render_background (cr,
+ 0, prelight_child.y,
+ allocation.width, prelight_child.height);
}
if (has_visible_focus() && cursor_child != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]