cvs: php-gtk /test scribble.php
| From: | Andrei Zmievski | Date: | Thu, 29 Nov 2001 20:39:54 +0000 |
| Subject: | cvs: php-gtk /test scribble.php | ||
| Groups: | php.gtk.cvs | ||
| Request: | Send a blank email to php-gtk-cvs+get-347@lists.php.net to get a copy of this message | ||
andrei Thu Nov 29 15:39:54 2001 EDT
Modified files:
/php-gtk/test scribble.php
Log:
Fix scribble example.
Index: php-gtk/test/scribble.php
diff -u php-gtk/test/scribble.php:1.5 php-gtk/test/scribble.php:1.6
--- php-gtk/test/scribble.php:1.5 Sat Nov 17 14:05:29 2001
+++ php-gtk/test/scribble.php Thu Nov 29 15:39:54 2001
@@ -1,5 +1,5 @@
<?php
-/* $Id: scribble.php,v 1.5 2001/11/17 19:05:29 mfischer Exp $ */
+/* $Id: scribble.php,v 1.6 2001/11/29 20:39:54 andrei Exp $ */
if (!class_exists('gtk')) {
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN')
@@ -83,7 +83,7 @@
gdk::draw_arc($pixmap, $widget->style->black_gc,
true, $x - 4, $y - 4, 8, 8, 0, 64 * 360);
- $widget->draw($x - 4, $y - 4, 8, 8);
+ $widget->draw(new GdkRectangle($x - 4, $y - 4, 8, 8));
}