cvs: php-gtk /test bug_gtkiconview_toggle-cursor-item.phpw

From: Date: Thu, 20 Oct 2005 04:23:39 +0000
Subject: cvs: php-gtk /test bug_gtkiconview_toggle-cursor-item.phpw
Groups: php.gtk.cvs 
Request: Send a blank email to php-gtk-cvs+get-1924@lists.php.net to get a copy of this message
cweiske Thu Oct 20 00:23:39 2005 EDT Modified files: /php-gtk/test bug_gtkiconview_toggle-cursor-item.phpw Log: Don't use deprecated things when trying to find bugs Bug still exists http://cvs.php.net/diff.php/php-gtk/test/bug_gtkiconview_toggle-cursor-item.phpw?r1=1.1&r2=1.2&ty=u Index: php-gtk/test/bug_gtkiconview_toggle-cursor-item.phpw diff -u php-gtk/test/bug_gtkiconview_toggle-cursor-item.phpw:1.1 php-gtk/test/bug_gtkiconview_toggle-cursor-item.phpw:1.2 --- php-gtk/test/bug_gtkiconview_toggle-cursor-item.phpw:1.1 Fri Jul 29 17:27:46 2005 +++ php-gtk/test/bug_gtkiconview_toggle-cursor-item.phpw Thu Oct 20 00:23:39 2005 @@ -4,7 +4,7 @@ if ($argc > 1 && $argv[1] == 'run') { $wnd = new GtkWindow(); - $wnd->connect_object('destroy', array('gtk', 'main_quit')); + $wnd->connect_simple('destroy', array('gtk', 'main_quit')); $wnd->set_default_size(200, 200); $iv = new GtkIconView(); @@ -34,7 +34,7 @@ { //var_dump('toggle-cursor-item'); } - $iv->connect_object('toggle-cursor-item', 'toggle_cursor_item'); + $iv->connect_simple('toggle-cursor-item', 'toggle_cursor_item'); //let it show @@ -56,7 +56,7 @@ } else { //prepare the test - require_once('bugconfig.php'); + require_once(dirname(__FILE__) . '/bugconfig.php'); $handle = popen(PHP_EXECUTABLE . ' ' . __FILE__ . ' run 2>&1', 'r'); $lines = ''; while (!feof($handle)) {

« previous php.gtk.cvs (#1924) next »