[gnome-devel-docs] Fixed function argument



commit e442e47aa88469d740a0fc0a91a467460c556305
Author: Marek Černocký <marek manet cz>
Date:   Sun May 10 14:48:02 2015 +0200

    Fixed function argument

 platform-demos/C/toolbar_builder.py.page |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/toolbar_builder.py.page b/platform-demos/C/toolbar_builder.py.page
index 98f4ed1..52d988c 100644
--- a/platform-demos/C/toolbar_builder.py.page
+++ b/platform-demos/C/toolbar_builder.py.page
@@ -178,7 +178,7 @@
 <item><p><code>add_from_file(filename)</code> loads and parses the given file and merges it with the current 
contents of the Gtk.Builder.</p></item>
 <item><p><code>add_from_string(string)</code> parses the given string and merges it with the current 
contents of the Gtk.Builder.</p></item>
 <item><p><code>add_objects_from_file(filename, object_ids)</code> is the same as 
<code>add_from_file()</code>, but it loads only the objects with the ids given in the <code>object_id</code>s 
list.</p></item>
-<item><p><code>add_objects_from_string(filename, object_ids)</code>  is the same as 
<code>add_from_string()</code>, but it loads only the objects with the ids given in the 
<code>object_id</code>s list.</p></item>
+<item><p><code>add_objects_from_string(string, object_ids)</code>  is the same as 
<code>add_from_string()</code>, but it loads only the objects with the ids given in the 
<code>object_id</code>s list.</p></item>
 <item><p><code>get_object(object_id)</code> retrieves the widget with the id <code>object_id</code> from the 
loaded objects in the builder.</p></item>
 <item><p><code>get_objects()</code> returns all loaded objects.</p></item>
 <item><p><code>connect_signals(handler_object)</code> connects the signals to the methods given in the 
<code>handler_object</code>. This can be any object which contains keys or attributes that are called like 
the signal handler names given in the interface description, e.g. a class or a dict. In line 39 the signal 
<code>"activate"</code> from the action <code>undo_action</code> is connected to the callback function 
<code>undo_callback()</code> using <code><var>action</var>.connect(<var>signal</var>, <var>callback 
function</var>)</code>. See <link xref="signals-callbacks.py"/> for a more detailed explanation.</p>


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