[egg-list-box] use GObject constructor
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box] use GObject constructor
- Date: Mon, 21 May 2012 08:14:27 +0000 (UTC)
commit 2f3e856f91b8099d056c6626f860beccbe45f077
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon May 21 09:50:33 2012 +0200
use GObject constructor
Needed to be able to subclass to object in C.
egg-list-box.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/egg-list-box.vala b/egg-list-box.vala
index c10bceb..4f8bb46 100644
--- a/egg-list-box.vala
+++ b/egg-list-box.vala
@@ -47,7 +47,7 @@ public class Egg.ListBox : Container {
private SelectionMode selection_mode;
private Adjustment? adjustment;
- public ListBox () {
+ construct {
set_can_focus (true);
set_has_window (true);
set_redraw_on_allocate (true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]