com gtk/php-gtk: Bug has been fixed by Andrei: test/bug_gtkli ststore_insert_with_array.php

[email protected] (David Soria Parra) Thu, 20 Oct 2005 04:19:18 +0000
Newsgroups php.gtk.cvs
Message-ID <[email protected]>
Commit:    e8be333ff258d3c28f854e2bc288657a05c0e6e5
Author:    Christian Weiske <[email protected]>         Thu, 20 Oct 2005 04:19:18 +0000
Parents:   74a579396f51b3c916982f7a1b84bc3602aec9ff
Branches:  master

Link:       http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=e8be333ff258d3c28f854e2bc288657a05c0e6e5

Log:
Bug has been fixed by Andrei

Changed paths:
  M  test/bug_gtkliststore_insert_with_array.php


Diff:
e8be333ff258d3c28f854e2bc288657a05c0e6e5
diff --git a/test/bug_gtkliststore_insert_with_array.php b/test/bug_gtkliststore_insert_with_array.php
index ae25df9..b8e0529 100644
--- a/test/bug_gtkliststore_insert_with_array.php
+++ b/test/bug_gtkliststore_insert_with_array.php
@@ -1,4 +1,8 @@
 <?php
+/**
+*   FIXED by Andrei on 2005-10-19 22:38
+*   Problem reason: Wrong alloc used
+*/
 // Create a list store.
 $listStore = new GtkListStore(Gtk::TYPE_STRING, Gtk::TYPE_LONG, Gtk::TYPE_DOUBLE);
 
@@ -70,7 +74,7 @@ $column->set_attributes($cell_renderer, 'text', 2);
 $window = new GtkWindow();
 $window->add($view);
 $window->show_all();
-$window->connect_object('destroy', array('gtk', 'main_quit'));
+$window->connect_simple('destroy', array('gtk', 'main_quit'));
 gtk::main();
 
 /*