[gnome-devel-docs] added 'new' keyword to GtkApplicationWindow.vala
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] added 'new' keyword to GtkApplicationWindow.vala
- Date: Thu, 31 May 2012 00:02:57 +0000 (UTC)
commit b923eb09be1b852803cd4eb46f8ff678e3771c6f
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Wed May 30 20:02:16 2012 -0400
added 'new' keyword to GtkApplicationWindow.vala
platform-demos/C/samples/GtkApplicationWindow.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/samples/GtkApplicationWindow.vala b/platform-demos/C/samples/GtkApplicationWindow.vala
index 986c172..7ca2a63 100644
--- a/platform-demos/C/samples/GtkApplicationWindow.vala
+++ b/platform-demos/C/samples/GtkApplicationWindow.vala
@@ -3,7 +3,7 @@ public class MyApplication : Gtk.Application {
/* Override the 'activate' signal of GLib.Application. */
protected override void activate () {
/* Create the window of this application and show it. */
- var window = Gtk.ApplicationWindow (this);
+ var window = new Gtk.ApplicationWindow (this);
window.title = "Welcome to GNOME";
window.show ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]