Silence a warning
This commit is contained in:
parent
96605ee207
commit
85e5a75d7b
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
error_reporting(-1);
|
||||||
|
|
||||||
if ( ! class_exists('gtk'))
|
if ( ! class_exists('gtk'))
|
||||||
{
|
{
|
||||||
die("Please load the php-gtk2 module in your php.ini\r\n");
|
die("Please load the php-gtk2 module in your php.ini\r\n");
|
||||||
|
@ -113,10 +113,10 @@ class Main extends GtkWindow {
|
|||||||
|
|
||||||
/*$notebook = new GtkNoteBook();
|
/*$notebook = new GtkNoteBook();
|
||||||
$notebook->append_page(new GtkLabel('Test'));
|
$notebook->append_page(new GtkLabel('Test'));
|
||||||
$notebook->append_page(new GtkLabel('Test'));*/
|
$notebook->append_page(new GtkLabel('Test'));
|
||||||
|
|
||||||
//Add a notebook, just for fun
|
//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
|
// Add the Vbox, and show the window
|
||||||
$this->add($main_vbox);
|
$this->add($main_vbox);
|
||||||
|
Reference in New Issue
Block a user