com gtk/php-gtk: Fix connect_object -> connect_simple : demos/WidgetEditor.php

[email protected] (David Soria Parra)
Newsgroups php.gtk.cvs
Message-ID <[email protected]>
Commit:    484328791545c329f66b9d4dd2a7404113f65b17
Author:    Christian Weiske <[email protected]>         Fri, 16 Jun 2006 20:40:40 +0000
Parents:   d967d70eb96ec60eec290b4a34aba2d8ce40bfde
Branches:  master

Link:       http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=484328791545c329f66b9d4dd2a7404113f65b17

Log:
Fix connect_object -> connect_simple

Changed paths:
  M  demos/WidgetEditor.php


Diff:
484328791545c329f66b9d4dd2a7404113f65b17
diff --git a/demos/WidgetEditor.php b/demos/WidgetEditor.php
index d12236c..b2ed7ff 100644
--- a/demos/WidgetEditor.php
+++ b/demos/WidgetEditor.php
@@ -126,14 +126,14 @@ class WidgetEditor extends GtkWindow
     {
         //call the function on the base widget
         $btn = new GtkButton($function);
-        $btn->connect_object('clicked', array($basewidget, $function));
+        $btn->connect_simple('clicked', array($basewidget, $function));
 
         if ($function2 === null) {
             return $btn;
         }
 
         $btn2 = new GtkButton($function2);
-        $btn2->connect_object('clicked', array($basewidget, $function2));
+        $btn2->connect_simple('clicked', array($basewidget, $function2));
 
         $hbox = new GtkHBox();
         $hbox->pack_start($btn);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.