From 85e5a75d7be1ebdf6b99f7479f1d6287aaa69eae Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 30 Jan 2012 18:44:27 -0500 Subject: [PATCH] Silence a warning --- src/index.php | 2 ++ src/windows/main.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.php b/src/index.php index ddb71c9..ec7d14b 100644 --- a/src/index.php +++ b/src/index.php @@ -20,6 +20,8 @@ // -------------------------------------------------------------------------- +error_reporting(-1); + if ( ! class_exists('gtk')) { die("Please load the php-gtk2 module in your php.ini\r\n"); diff --git a/src/windows/main.php b/src/windows/main.php index 7187087..52f8e86 100644 --- a/src/windows/main.php +++ b/src/windows/main.php @@ -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);