Silence a warning

This commit is contained in:
Timothy Warren 2012-01-30 18:44:27 -05:00
parent 96605ee207
commit 85e5a75d7b
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,8 @@
// --------------------------------------------------------------------------
error_reporting(-1);
if ( ! class_exists('gtk'))
{
die("Please load the php-gtk2 module in your php.ini\r\n");

View File

@ -113,10 +113,10 @@ class Main extends GtkWindow {
/*$notebook = new GtkNoteBook();
$notebook->append_page(new GtkLabel('Test'));
$notebook->append_page(new GtkLabel('Test'));*/
$notebook->append_page(new GtkLabel('Test'));
//Add a notebook, just for fun
$main_hbox->pack_start($notebook, FALSE, FALSE);
$main_hbox->pack_start($notebook, FALSE, FALSE);*/
// Add the Vbox, and show the window
$this->add($main_vbox);