Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.3

Bug #7286 Doesn't use constants
Submitted: 2006-04-04 01:37 UTC
From: php-gtk at swavely dot net Assigned: cweiske
Status: Closed Package: Gtk_FileDrop (version 1.0.1)
PHP Version: 5.1.1 OS: Win 2000
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 9 + 17 = ?

 
 [2006-04-04 01:37 UTC] php-gtk at swavely dot net (cohort)
Description: ------------ I get this error when I run the test script given in the 'End User Documentation': PHP Notice: Use of undefined constant GTK_DEST_DEFAULT_ALL - assumed 'GTK_DEST_DEFAULT_ALL' in C:\PHP-Gtk2\lib\pear\Gtk\FileDrop.php on line 66 PHP Notice: Use of undefined constant GDK_ACTION_COPY - assumed 'GDK_ACTION_COPY' in C:\PHP-Gtk2\lib\pear\Gtk\FileDrop.php on line 66 PHP Notice: Use of undefined constant GDK_ACTION_MOVE - assumed 'GDK_ACTION_MOVE' in C:\PHP-Gtk2\lib\pear\Gtk\FileDrop.php on line 66 PHP Warning: PHP-GTK internal error: could not convert 'GDK_ACTION_OOV]' to flags in C:\PHP-Gtk2\lib\pear\Gtk\FileDrop.php on line 66 Test script: --------------- Used script at bottom of this page: http://pear.php.net/manual/en/package.gtk.filedrop.example.php

Comments

 [2006-05-01 09:43 UTC] cweiske (Christian Weiske)
Are you using PHP-Gtk1 or PHP-Gtk2? If you are using php-gtk2 with php5, then use the Gtk2_FileDrop package
 [2006-05-01 10:02 UTC] php-gtk at swavely dot net
Got it now, my bad.