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 141666 - bug in egg-recent-view-gtk.c ?
bug in egg-recent-view-gtk.c ?
Status: RESOLVED DUPLICATE of bug 168578
Product: libegg
Classification: Other
Component: recent-files
unspecified
Other Linux
: Normal normal
: ---
Assigned To: James Willcox
James Willcox
Depends on:
Blocks:
 
 
Reported: 2004-05-02 18:58 UTC by Paolo Bacchilega
Modified: 2005-02-26 10:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Bacchilega 2004-05-02 18:58:45 UTC
in egg_recent_view_gtk_set_model you can read:

        if (view->model != NULL) {
                g_object_unref (view->model);
                g_signal_handler_disconnect (G_OBJECT (model),
                                             view->changed_cb_id);
        }

it should be:

        if (view->model != NULL) {
                if (view->changed_cb_id != 0)
                        g_signal_handler_disconnect (G_OBJECT (view->model),
                                                     view->changed_cb_id);
                g_object_unref (view->model);
        }

that is, you have to disconnect from view->model not from model

right?
Comment 1 Vincent Untz 2005-02-26 10:44:13 UTC
The patch I made in bug #168578 fixes this.

*** This bug has been marked as a duplicate of 168578 ***