[gnome-devel-docs] Changed set_size_request to set_default_size in JS files.



commit 3177185644ce4415d5ea91133007b66e3ac2da9c
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date:   Sun May 27 21:06:49 2012 -0400

    Changed set_size_request to set_default_size in JS files.

 platform-demos/C/samples/GtkApplicationWindow.js |    2 +-
 platform-demos/C/samples/gmenu.js                |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/platform-demos/C/samples/GtkApplicationWindow.js b/platform-demos/C/samples/GtkApplicationWindow.js
index aa2eaaf..3c593bd 100644
--- a/platform-demos/C/samples/GtkApplicationWindow.js
+++ b/platform-demos/C/samples/GtkApplicationWindow.js
@@ -27,7 +27,7 @@ const Application = new Lang.Class ({
                                                    title: "Welcome to GNOME" });
 
         //uncommenting the line below will change the window size
-        //this._window.set_size_request(600, 400);
+        //this._window.set_default_size(600, 400);
 
         //show the window and all child widgets (none in this case)
         this._window.show_all();
diff --git a/platform-demos/C/samples/gmenu.js b/platform-demos/C/samples/gmenu.js
index ad3531e..c106308 100644
--- a/platform-demos/C/samples/gmenu.js
+++ b/platform-demos/C/samples/gmenu.js
@@ -27,7 +27,7 @@ const Application = new Lang.Class ({
                                                    title: "Welcome to GNOME" });
 
         //uncommenting the line below will change the window size
-        //this._window.set_size_request(600, 400);
+        //this._window.set_default_size(600, 400);
 
         //show the window and all child widgets (none in this case)
         this._window.show_all();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]