seed r357 - in trunk: examples examples/ide examples/lightsoff libseed



Author: racarr
Date: Fri Nov 28 04:28:19 2008
New Revision: 357
URL: http://svn.gnome.org/viewvc/seed?rev=357&view=rev

Log:
Track GI changes.


Modified:
   trunk/examples/gconf.js
   trunk/examples/ide/ide-sourceview.js
   trunk/examples/lightsoff/main.js
   trunk/examples/pango.js
   trunk/libseed/seed-engine.c
   trunk/libseed/seed-structs.c

Modified: trunk/examples/gconf.js
==============================================================================
--- trunk/examples/gconf.js	(original)
+++ trunk/examples/gconf.js	Fri Nov 28 04:28:19 2008
@@ -4,6 +4,6 @@
 GConf.init(null, null);
 
 // client = new GConf.Client() makes GConf segfault, don't think it's our fault.
-client = GConf.client_get_default();
+client = GConf.Client.get_default();
 value = client.get_string("/apps/gedit-2/preferences/editor/colors/scheme");
 Seed.print(value);

Modified: trunk/examples/ide/ide-sourceview.js
==============================================================================
--- trunk/examples/ide/ide-sourceview.js	(original)
+++ trunk/examples/ide/ide-sourceview.js	Fri Nov 28 04:28:19 2008
@@ -180,7 +180,7 @@
         this.set_auto_indent(true);
         this.set_indent_width(4);
         
-        this.modify_font(Pango.font_description_from_string("monospace 10"));
+        this.modify_font(Pango.Font.description_from_string("monospace 10"));
         
         var epb = new Gtk.Image({"file": "./exception.svg"});
         this.set_mark_category_pixbuf("exception", epb.pixbuf);
@@ -193,8 +193,8 @@
         this.set_buffer(buf);
         buf.signal.changed.connect(this.text_changed, this);
         
-        var gconf_client = GConf.client_get_default();
-        var source_style_mgr = GtkSource.style_scheme_manager_get_default();
+        var gconf_client = GConf.Client.get_default();
+        var source_style_mgr = GtkSource.SourceStyleSchemeManager.get_default();
         var gedit_style = gconf_client.get_string("/apps/gedit-2/preferences/editor/colors/scheme");
         var source_style = source_style_mgr.get_scheme(gedit_style);
         buf.style_scheme = source_style;

Modified: trunk/examples/lightsoff/main.js
==============================================================================
--- trunk/examples/lightsoff/main.js	(original)
+++ trunk/examples/lightsoff/main.js	Fri Nov 28 04:28:19 2008
@@ -23,7 +23,7 @@
 Seed.include("menu.js");
 Seed.include("arrow.js");
 
-var gconf_client = GConf.client_get_default();
+var gconf_client = GConf.Client.get_default();
 
 var black = Clutter.Color._new();
 Clutter.color_parse("Black", black);

Modified: trunk/examples/pango.js
==============================================================================
--- trunk/examples/pango.js	(original)
+++ trunk/examples/pango.js	Fri Nov 28 04:28:19 2008
@@ -95,7 +95,7 @@
     }
     
     properties.text.text = actor.text;
-    var pfd = Pango.font_description_from_string(actor.get_font_name());
+    var pfd = Pango.Font.description_from_string(actor.get_font_name());
 
     properties.size_entry.text = pfd.to_string().match(new RegExp("[0-9]+$"),"");
     properties.font_combo.set_active(font_list.indexOf(pfd.to_string().replace(new RegExp(" [0-9]+$"),"")));

Modified: trunk/libseed/seed-engine.c
==============================================================================
--- trunk/libseed/seed-engine.c	(original)
+++ trunk/libseed/seed-engine.c	Fri Nov 28 04:28:19 2008
@@ -966,15 +966,15 @@
 				{
 					finfo = g_object_info_get_method((GIObjectInfo *) info, i);
 					flags = g_function_info_get_flags(finfo);
-					if (flags & GI_FUNCTION_IS_CONSTRUCTOR)
-					{
+//					if (flags & GI_FUNCTION_IS_CONSTRUCTOR)
+//					{
 						seed_gobject_define_property_from_function_info
 							(ctx, finfo, constructor_ref, FALSE);
-					}
-					else
-					{
-						g_base_info_unref((GIBaseInfo *) finfo);
-					}
+//					}
+//					else
+//					{
+//						g_base_info_unref((GIBaseInfo *) finfo);
+//					}
 				}
 
 				seed_object_set_property(ctx, namespace_ref,

Modified: trunk/libseed/seed-structs.c
==============================================================================
--- trunk/libseed/seed-structs.c	(original)
+++ trunk/libseed/seed-structs.c	Fri Nov 28 04:28:19 2008
@@ -6,7 +6,7 @@
  * Copyright (C) Robert Carr 2008 <carrr rpi edu>
  *
  * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
+ * under the terms of the GNU Gener1al Public License as published by the
  * Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *



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