File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -822,6 +822,21 @@ destroy_clock (GtkWidget * widget, ClockData *cd)
822822 cd -> systz = NULL ;
823823 }
824824
825+ if (cd -> clock_group ) {
826+ g_object_unref (cd -> clock_group );
827+ cd -> clock_group = NULL ;
828+ }
829+
830+ if (cd -> prefs_window ) {
831+ gtk_widget_destroy (cd -> prefs_window );
832+ cd -> prefs_window = NULL ;
833+ }
834+
835+ if (cd -> set_time_window ) {
836+ gtk_widget_destroy (cd -> set_time_window );
837+ cd -> set_time_window = NULL ;
838+ }
839+
825840 if (cd -> cities_store ) {
826841 g_object_unref (cd -> cities_store );
827842 cd -> cities_store = NULL ;
Original file line number Diff line number Diff line change @@ -291,9 +291,14 @@ static void panel_menu_bar_finalize (GObject* object)
291291
292292 if (menubar -> priv -> settings != NULL )
293293 {
294+ g_signal_handlers_disconnect_by_func (menubar -> priv -> settings ,
295+ panel_menu_bar_update_visibility ,
296+ menubar );
294297 g_object_unref (menubar -> priv -> settings );
295298 menubar -> priv -> settings = NULL ;
296299 }
300+
301+ G_OBJECT_CLASS (panel_menu_bar_parent_class )-> finalize (object );
297302}
298303
299304static void panel_menu_bar_class_init (PanelMenuBarClass * klass )
You can’t perform that action at this time.
0 commit comments