After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 59803 - GtkEditable needs signals
GtkEditable needs signals
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-08-31 02:46 UTC by Jonathan Blandford
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Blandford 2001-08-31 02:46:47 UTC
When the new GtkEditable interface first appeared, you couldn't have
signals on interfaces.  This has since changed.  However, the editable
signals ("insert_text", "delete_text", "changed" et al.) are still on the
objects, instead of the interface.  This should be changed at some point.
Comment 1 Owen Taylor 2001-09-19 16:44:11 UTC
Pretty fast to do, and probably important to fix.
Comment 2 James Henstridge 2001-09-25 07:47:24 UTC
would a new "interface signal class closure" type need to be added to
libgobject for this?

One that would take an interface type and offset into the vtable to
use as the class closurure function.  This should make signals on
interfaces quite easy to use/create.
Comment 3 Kristian Rietveld 2001-10-03 21:54:01 UTC
Fixed in CVS:


Wed Oct  3 23:47:25  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkeditable.[ch]: move insert_text and delete_text virtual
        functions to do_insert_text and do_delete_text, add signals
        insert_text, delete_text and changed

        * gtk/gtkentry.[ch]: remove signals insert_text, delete_text
        and changed. Updates to match new situation.

        * gtk/gtkspinbutton.c: updates to match new situation

        * gtk/gtkoldeditable.h: remove signals changed, insert_text
        and delete_text

        * gtk/gtkoldeditable.c: updates to match new situation

        * gtk/gtktext.c: updates to match new situation

        Fixes bug #59803