GNOME Bugzilla – Bug 619883
Remove duplicate signal connected in totem-open-location
Last modified: 2010-05-28 15:13:43 UTC
gtk_widget_destroy callback was connected twice to the "delete-event" signal of TotemOpenLocation object. This patch removes one in the totem_open_location_new() in totem-open-location.c. Also patch removes totem_open_location_destroy() in totem_object.c as this function destroys TotemOpenLocation object (totem->open_location) and sets it to NULL, but we already have weak reference to this object (added on object creation), so there is no need for this function. I replaced it with gtk_widget_destroy().
Created attachment 162151 [details] [review] Remove duplicate signal connected in totem-open-location Remove duplicate gtk_widget_destroy() callback for totem-open-location object in totem_open_location_new () Remove totem_open_location_destroy() in totem-object.c as we already have weak pointer to totem_open_location object