octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43580] Dellistener example not working


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #43580] Dellistener example not working
Date: Tue, 11 Nov 2014 17:38:09 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

URL:
  <http://savannah.gnu.org/bugs/?43580>

                 Summary: Dellistener example not working
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: mar. 11 nov. 2014 17:38:08 GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The example that is provided in the help string of "dellistener" function
leads to an error:


function my_listener (h, dummy, p1)
  fprintf ("my_listener called with p1=%s\n", p1);
endfunction

c = address@hidden, "my string"};
addlistener (gcf, "position", c);
dellistener (gcf, "position", c);

=> octave_base_value::convert_to_str_internal (): wrong type argument
'function handle'


Concequently, there is currently no way to delete a specific listener.

I suppose this example have once worked (before 3.8 at least) so I am marking
it as regression.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43580>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]