[gnome-games] glchess: replace use of depreacted API
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] glchess: replace use of depreacted API
- Date: Wed, 28 Dec 2011 00:05:19 +0000 (UTC)
commit e8cb12c8697c10c5e4d14388bdc11421acbe6089
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Wed Dec 28 01:05:07 2011 +0100
glchess: replace use of depreacted API
glchess/src/glchess.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glchess/src/glchess.vala b/glchess/src/glchess.vala
index 2d9b772..d6c16bb 100644
--- a/glchess/src/glchess.vala
+++ b/glchess/src/glchess.vala
@@ -99,7 +99,7 @@ public class Application : Gtk.Application
info_bar = new Gtk.InfoBar ();
var content_area = (Gtk.Container) info_bar.get_content_area ();
view_box.pack_start (info_bar, false, true, 0);
- var vbox = new Gtk.VBox (false, 6);
+ var vbox = new Gtk.Box (Gtk.Orientation.VERTICAL, 6);
vbox.show ();
content_area.add (vbox);
info_title_label = new Gtk.Label ("");
@@ -1400,7 +1400,7 @@ public class Application : Gtk.Application
private void add_info_bar_to_dialog (Gtk.Dialog dialog, out Gtk.InfoBar info_bar, out Gtk.Label label)
{
- var vbox = new Gtk.VBox (false, 0);
+ var vbox = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
vbox.show ();
info_bar = new Gtk.InfoBar ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]